Calculate amount of vaccine waning

calc_ve_w_waning(vac_rate, ve_val, waning)

Arguments

vac_rate

rate of vaccination at each timepoint

ve_val

value of VE

waning

vector of amount of waning over time

Value

matrix of VE values with waning in each age group (columns) at each time point (rows)