align | R Documentation |
Quick method to align a set of simulations to a cumulative deaths total
align( deaths, reporting_fraction = 1, country = NULL, population = NULL, contact_matrix_set = NULL, seeding_age_groups = c("35-40", "40-45", "45-50", "50-55"), min_seeding_cases = 5, max_seeding_cases = 50, R0 = 3, R0_scan = NULL, replicates = 100, ... )
deaths |
Number of observed deaths |
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 |
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 |
contact_matrix_set |
Contact matrices used in simulation. Default =
NULL, which will generate this based on the |
seeding_age_groups |
Age groups for seeding |
min_seeding_cases |
Minimum seeding cases |
max_seeding_cases |
Maximum seeding cases |
R0 |
R0 to be passed to |
R0_scan |
Vector or R0 values to sample from to introduce uncertainty
in predictions. Default = NULL, which will not scan. If provided, the first
value in |
replicates |
Replicates to be passed to
|
... |
Further aguments for |
List of time adjusted squire_simulations
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.