Description Usage Arguments Value
View source: R/utility_functions.R
Extrapolate a number using pro
1 2 3 4 5 6 | extrapolate_with_confidence(
population_size,
percentage_sampled,
number_of_positives,
conf_int
)
|
population_size |
The true size of the population |
percentage_sampled |
Percentage of the population sampled |
number_of_positives |
How many positives have been found |
conf_int |
Can be any of the classical two-sided values: 0.8, 0.9, 0.95 |
Returns a list containing: - proportion of the sample that was marked positive - confidence interval around number_of_positives - confidence interfal around the true population
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.