estimate_delay: Estimate a Delay Distribution

View source: R/estimate_delay.R

estimate_delayR Documentation

Estimate a Delay Distribution

Description

[Maturing] Estimate a log normal delay distribution from a vector of integer delays. Currently this function is a simple wrapper for bootstrapped_dist_fit().

Usage

estimate_delay(delays, ...)

Arguments

delays

Integer vector of delays

...

Arguments to pass to internal methods.

Value

A ⁠<dist_spec>⁠ summarising the bootstrapped distribution

See Also

bootstrapped_dist_fit()

Examples


delays <- rlnorm(500, log(5), 1)
estimate_delay(delays, samples = 1000, bootstraps = 10)


epiforecasts/EpiNow2 documentation built on April 27, 2024, 9:15 p.m.