Description Usage Arguments Value
View source: R/calc_summaries_funcs.R
calculate the number of individuals summed over compartments over time for each country
1 | calc_country_time_series(res, X, labels, compartments)
|
res |
output of main_simulation |
X |
the vector of population sizes in each location/age/risk group |
labels |
data frame outputted by setup_inputs containing the location/ age/risk group for each row in res |
compartments |
vector of compartment names to sum over |
a list containing a matrix with n_countries rows. Each row contains the number of individuals summed over compartments over time for that country.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.