get_attack_rates | R Documentation |
This function initializes the population before running the model.
get_attack_rates(inf_history, ages_mat = NULL, vac_history = NULL, years)
inf_history |
matrix of infection histories for each person |
ages_mat |
matrix of ages of each person for every year |
vac_history |
matrix of vaccination history for each person |
years |
vector of years to run simulation over (YYYY format) |
data frame or list of data frames with attack rates
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.