R/generate_plots.R
plot_biomarker_mediated_protection.Rd
Plot biomarker mediated protection graphs for each pathogen
plot_biomarker_mediated_protection(
biomarker_range,
biomarker_prot_midpoint,
biomarker_prot_width
)
The range of possible biomarker quantities an individual can have at exposure
The biomarker quantity at which you are 50% protected from infection
Determines the shape of the curve
A plot of the probability of infection given an individual's biomarker quantity at exposure
plot_biomarker_mediated_protection(0:10,5,0.9)