View source: R/simulate_serosurvey.R
get_seroprev_counts_by_bin | R Documentation |
Generate seropositivity counts by bin given the probability and sample size per age group bin
get_seroprev_counts_by_bin(
prob_seroprev_by_age,
sample_size_by_age_random,
survey_features
)
prob_seroprev_by_age |
Probability of seropositivity by age |
sample_size_by_age_random |
Random sample size by age |
survey_features |
A dataframe containing information about the binned age groups and sample sizes for each. It should contain columns:
The resulting age intervals are closed to the left |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.