Description Usage Arguments Value Examples
View source: R/freedom_functions_2.R
Calculates population sensitivity for a finite population and allowing for imperfect test sensitivity and specificity, using Hypergeometric distribution
1  | 
N | 
 population size (scalar or vector of same length as n)  | 
n | 
 sample size (scalar or vector)  | 
c | 
 The cut-point number of positives to classify a cluster as positive, default=1, if positives < c result is negative, >= c is positive (scalar)  | 
se | 
 test unit sensitivity (scalar)  | 
sp | 
 test unit specificity, default=1 (scalar)  | 
pstar | 
 design prevalence as a proportion (scalar)  | 
a vector of population-level sensitivities
1 2 3 4 5  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.