get_attack_rates: Multi-annual model of infection and vaccination (version 2)

get_attack_ratesR Documentation

Multi-annual model of infection and vaccination (version 2)

Description

This function initializes the population before running the model.

Usage

get_attack_rates(inf_history, ages_mat = NULL, vac_history = NULL, years)

Arguments

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)

Value

data frame or list of data frames with attack rates


kylieainslie/MoreVac documentation built on Oct. 9, 2024, 1:53 p.m.