Description Usage Arguments Value Examples
View source: R/freedom_functions_1.R
Calculates sample size to achieve desired population-level sensitivity, assuming pooled sampling and allowing for imperfect sensitivity and specificity of the pooled test
1 |
sep |
desired population sensitivity (scalar or vector) |
k |
pool size (constant across pools) (scalar or vector of same length as sep) |
pstar |
design prevalence (scalar or vector of same length as sep) |
pse |
pool-level sensitivity (scalar or vector of same length as sep) |
psp |
pool-level specificity (scalar or vector of same length as sep) |
vector of sample sizes
1 2 3 4 |
[1] 60
[1] 4
[1] 15 6 3 2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.