Description Usage Arguments Value
Fit squire model using rw splines
1 2 3 4 5 6 7 8 9 10 11 | fit_spline_rt(
data,
country,
population,
reporting_fraction,
n_mcmc = 10000,
replicates = 100,
rw_duration = 14,
hosp_beds = 1e+10,
icu_beds = 1e+10
)
|
data |
Data to fit to. This must be constructed with
|
country |
Character for country beign simulated. WIll be used to
generate |
population |
Population vector (for each age group). Default = NULL,
which will cause population to be sourced from |
reporting_fraction |
Reporting fraction. Numeric for what proportion of
the total deaths the reported deaths represent. E.g. 0.5 results in
the model calibrating to twice the deaths provided by |
n_mcmc |
number of mcmc mcmc iterations to perform |
replicates |
number of trajectories (replicates) to be returned that are being sampled from the posterior probability results produced by |
rw_duration |
Random Walk/Spline Duration. Default = 14 days |
hosp_beds |
General Hospital Beds |
icu_beds |
ICU Beds |
Model fit from [squire:::pmcmc]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.