R/RcppExports.R
vaccine_efficacy_severe_cpp.Rd
This needs the efficacy against infection because efficacy against severe disease, conditional on breakthrough infection is what safir needs, which is computed as 1 - ((1 - efficacy_disease)/(1 - efficacy_infection)).
vaccine_efficacy_severe_cpp(ab_titre, ef_infection, parameters, day)
a vector of Ab titres
a vector of efficacy against infection from vaccine_efficacy_infection
model parameters
current day
a numeric vector, 0 is maximally proective, 1 is maximally unprotective