Calculates Effective Vaccine Effectiveness as a function of parameters and time since vaccination. Includes heavyside function to accomendate the daily from injection

Usage,
effective_ve_wane(VE = 0.8, omega = 0.1, t, theta = 0.3, t_2 = 14)

Arguments

VE

a numeric, the maximum vaccine efficacy

omega

a numeric, the rate parameter of wane

t

an integer, the day of interest

theta

a numeric, the general wane of the vaccine to be calibrated

t_2

an integer, the inflection of the heavyside

Examples

plot(0:30, effective_ve_wane(t = 0:30))