Estimate a log normal delay distribution from a vector of integer delays.
Currently this function is a simple wrapper for bootstrapped_dist_fit()
.
Examples
# \donttest{
delays <- rlnorm(500, log(5), 1)
estimate_delay(delays, samples = 1000, bootstraps = 10)
#> Warning: ! `samples` must be at least 1000.
#> ℹ Now setting it to 1000 internally.
#> Warning: ! `samples` must be at least 1000.
#> ℹ Now setting it to 1000 internally.
#> Warning: ! `samples` must be at least 1000.
#> ℹ Now setting it to 1000 internally.
#> Warning: ! `samples` must be at least 1000.
#> ℹ Now setting it to 1000 internally.
#> Warning: ! `samples` must be at least 1000.
#> ℹ Now setting it to 1000 internally.
#> Warning: ! `samples` must be at least 1000.
#> ℹ Now setting it to 1000 internally.
#> Warning: ! `samples` must be at least 1000.
#> ℹ Now setting it to 1000 internally.
#> Warning: ! `samples` must be at least 1000.
#> ℹ Now setting it to 1000 internally.
#> Warning: ! `samples` must be at least 1000.
#> ℹ Now setting it to 1000 internally.
#> Warning: ! `samples` must be at least 1000.
#> ℹ Now setting it to 1000 internally.
#> - lognormal distribution (max: 98):
#> meanlog:
#> - normal distribution:
#> mean:
#> 1.4
#> sd:
#> 0.091
#> sdlog:
#> - normal distribution:
#> mean:
#> 1.1
#> sd:
#> 0.087
# }