# Load data of viral concentration in wastewater
data("ww.data")
# Run the estimation of Rt based on the wastewater data
x = estimate_R_ww(
ww.conc = ww.data,
dist.fec = ern::def_dist(
dist = "gamma",
mean = 12.90215,
mean_sd = 1.136829,
shape = 1.759937,
shape_sd = 0.2665988,
max = 33
),
dist.gi = ern::def_dist(
dist = "gamma",
mean = 6.84,
mean_sd = 0.7486,
shape = 2.39,
shape_sd = 0.3573,
max = 15
),
silent = TRUE
)
# Rt estimates
head(x$R)
# inferred daily incidence
head(x$inc)
Run the code above in your browser using DataLab