cs_dist() calculates the discrete joint distribution of vaccination,
infection, symptoms, tests, and detections in a population.
Arguments
- vac
[list(3)]A named list containing vaccination parameters:- p_comm
[numeric(1)] Proportion vaccinated in the community
- p_org
[numeric(1)] Proportion vaccinated in the organization of interest
- eff
[numeric(1)] Vaccine efficacy
- p_comm
- inf
[list(3)]A named list containing infection parameters:- p_incid
[numeric(1)] Proportion of community newly infected each day
- t_symp
[numeric(1)] Duration of symptomatic period
- t_presymp
[numeric(1)] Duration of presymptomatic period
- p_incid
- symp
[list(3)]A named lust containing symptom parameters:- p_inf_vac
[numeric(1)] Proportion of vaccinated infections who are symptomatic
- p_inf_unvac
[numeric(1)] Proportion of unvaccinated infections who are symptomatic
- p_uninf
[numeric(1)] Proportion of uninfected people who are symptomatic
- p_inf_vac
- test
[list(3)]A named list containing testing parameters:- p_symp
[numeric(1)] Probability of being tested if symptomatic
- p_asymp_vac
[numeric(1)] Probability of being tested if asymptomatic and vaccinated
- p_asymp_unvac
[numeric(1)] Probability of being tested if asymptomatic and unvaccinated
- p_symp
- detect
[list(2)]A named list containing detection parameters:- sens
[numeric(1)] Test sensitivity
- spec
[numeric(1)] Test specificity
- sens