Description Usage Arguments Value Examples
View source: R/prevalence_functions.R
Estimates true prevalence and confidence limits for estimates based on normal approximation
1 | tp.normal(x, n, se, sp, conf = 0.95)
|
x |
number of positive results in sample (scalar or vector) |
n |
sample size (scalar or vector) |
se |
test unit sensitivity (scalar or vector) |
sp |
test unit specificity (scalar or vector) |
conf |
desired level of confidence for CI, default = 0.95 (scalar or vector) |
list with 2 elements, a matrix of apparent prevalence and wilson lower and upper confidence limits and a matrix of true prevalence and normal approximation lower and upper confidence limits
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.