With a 5th and 95th quantile point estimates and optional lower and upper bounds, fit a lognormal distribution, returning the parameters of the distribution.

fit_lognorm_trunc(low, high, min = 0, max = Inf)

Arguments

low

5th quantile.

high

95th quantile.

min

lower bound of support.

max

upper bound of support.

Value

A dataframe.

See also

Examples

fit_lognorm_trunc(low = 10, high = 50, min = 0, max = 100)
#> # A tibble: 1 x 5 #> func meanlog sdlog min max #> <chr> <dbl> <dbl> <dbl> <dbl> #> 1 EnvStats::rlnormTrunc 3.11 0.491 0 100