get_seroprev_counts_by_bin {serofoi} | R Documentation |
Generate seropositivity counts by bin given the probability and sample size per age group bin
Description
Generate seropositivity counts by bin given the probability and sample size per age group bin
Usage
get_seroprev_counts_by_bin(
prob_seroprev_by_age,
sample_size_by_age_random,
survey_features
)
Arguments
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 |
[Package serofoi version 1.0.3 Index]