Format PMFs for EpiNow2
opts_formatter.Rd
Opinionated wrappers around EpiNow2::generation_time_opts(), EpiNow2::delay_opts(), or EpiNow2::dist_spec() that formats the generation interval, delay, or right truncation parameters as an object ready for input to EpiNow2.
Arguments
- pmf
As returned by
read_disease_parameters()
. A PMF vector or an NA, if not applying the PMF to the model fit.- data
in the format returned by
read_data()
See also
Other parameters:
read_disease_parameters()
,
read_interval_pmf()