Description Usage Arguments Value
View source: R/calc_summaries_funcs.R
calculate the peak time and attack rate by country
1 | calc_peak_times_and_attack_rates(res, X, labels)
|
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 |
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.