Description Usage Arguments Value Examples
View source: R/prevalence_functions.R
Calculates Clopper-Pearson exact binomial confidence limits for a simple proportion (apparent prevalence)
1 | binom.cp(x, n, conf = 0.95)
|
x |
number of positives in sample |
n |
sample size, note: either x or n can be a vector, but at least one must be scalar |
conf |
level of confidence required, default = 0.95 (scalar) |
a dataframe with 6 columns, x, n, proportion, lower confidence limit, upper confidence limit, confidence level and CI method
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.