View source: R/estimate_delay.R
| estimate_delay | R Documentation |
Estimate a log normal delay distribution from a vector of integer delays.
This function is deprecated. Please use estimate_dist() instead,
which provides better handling of censoring and truncation.
estimate_delay(delays, ...)
delays |
Integer vector of delays |
... |
Arguments to pass to internal methods. |
A <dist_spec> summarising the bootstrapped distribution
estimate_dist() for the recommended replacement
delays <- rlnorm(500, log(5), 1)
# Old way (deprecated):
# estimate_delay(delays, samples = 1000, bootstraps = 10)
# New way: see ?estimate_dist and
# vignette("estimate_dist_workflow") for date-based usage
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.