Description Usage Arguments Value Examples
View source: R/freedom_functions_1.R
Calculates population sensitivity for detecting disease, assuming imperfect test sensitivity and specificity and representative sampling, using binomial distribution (assumes large or unknown population size and that cut-point number of reactors for a positive result = 1)
1  | sep.binom(n, pstar, se = 1, sp = 1, dig = 5)
 | 
n | 
 sample size = number of units tested (integer), scalar or vector  | 
pstar | 
 design prevalence as a proportion (scalar or vector of same length as n)  | 
se | 
 unit sensitivity of test (proportion), default = 1 (scalar or vector of same length as n)  | 
sp | 
 unit specificity of test (proportion), default = 1 (scalar or vector of same length as n)  | 
dig | 
 number of digits for rounding of results  | 
vector of population-level sensitivities
1 2 3 4 5 6  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.