View source: R/estimate_R_ww.R
inc2R_one_iter | R Documentation |
Helper function. Converts wastewater to Rt after sampling one fecal shedding and one generation interval distribution.
inc2R_one_iter(
i,
dist.fec,
dist.gi,
ww.conc,
scaling.factor,
prm.R,
silent,
RL.max.iter
)
i |
Numeric. Iteration index. (not used but required when using
|
dist.fec |
List. Parameters for the fecal shedding distribution in the same format as returned by |
dist.gi |
List. Parameters for the generation interval distribution in the same format as returned by |
ww.conc |
Data frame. Must have variables:
|
scaling.factor |
Numeric. Scaling from wastewater concentration to prevalence. This value may be assumed or independently calibrated to data. |
prm.R |
List. Settings for the ensemble when calculating Rt. Elements include:
|
silent |
Logical. Flag to suppress all output messages, warnings, and progress bars. |
RL.max.iter |
Integer. Maximum of iterations for the Richardson-Lucy deconvolution algorithm. |
List. Elements include inc
(incidence) and rt
(reproduction number)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.