calc_peak_times_and_attack_rates: calculate the peak time and attack rate by country

Description Usage Arguments Value

View source: R/calc_summaries_funcs.R

Description

calculate the peak time and attack rate by country

Usage

1

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

Value

a list with two entries. peakTimes: numeric vector of length n_countries: the peak time for each country country_attack_rate: numeric vector of length n_countries: the attack rate for each country


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