R/misc_functions.R
biomarker_protection.Rd
This function is used for the immunity models that incorporate biomarker mediated protection.
biomarker_protection(
biomarker_quantity,
biomarker_prot_midpoint,
biomarker_prot_width
)
Current biomarker quantity at the time of exposure
The biomarker quantity at which you are 50% protected from infection
Determines the shape of the curve
The risk of infection given the current biomarker quantity
biomarker_protection(50,25,.02)
#> [1] 0.6224593