calc_country_time_series: calculate the number of individuals summed over compartments...

Description Usage Arguments Value

View source: R/calc_summaries_funcs.R

Description

calculate the number of individuals summed over compartments over time for each country

Usage

1
calc_country_time_series(res, X, labels, compartments)

Arguments

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

Value

a list containing a matrix with n_countries rows. Each row contains the number of individuals summed over compartments over time for that country.


jameshay218/vaxedemic documentation built on Jan. 30, 2020, 2:58 a.m.