Wrapper around fitdistrplus::fitdist that returns NULL
instead of throwing an error when fitting fails.
Examples
safe_fit(rlnorm(100), "lnorm")
#> Fitting of the distribution ' lnorm ' by maximum likelihood
#> Parameters:
#> estimate Std. Error
#> meanlog -0.1632808 0.09814576
#> sdlog 0.9814576 0.06939921