get_final_sizes_with_R_eff: function to simulate the final size distribution for a single...

Description Usage Arguments Value

View source: R/funcs_for_tests.R

Description

function to simulate thefinal size distribution for a single country, for a give effective reproduction number.

Usage

1
get_final_sizes_with_R_eff(R_eff, change_efficacy)

Arguments

R_eff

numeric vector of length 1: effective reproduction number. R_0 = 1.4

change_efficacy

logical: if TRUE, achieve R_eff by vaccinating all individuals but having vaccine efficacy less than unity. If FALSE, achieve R_eff by vaccinating a proportion of individual, with vaccine efficacy equal to unity.

Value

number vector of length 100: final sizes of 100 simulations.


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