Skip to contents

An S3 generic to calculate the proportion of the population immune

Usage

get_immunity_ratios(out, max_date = NULL, vaccine = FALSE)

Arguments

out

squire/nimue model object

max_date

date to generate immunity ratio upto, default = NULL gets the max_date from out's data

vaccine

should the function account for vaccinations, default = FALSE