Uses any of various techniques for calculating a binomial proportion confidence interval from a sample using the 'binom' package
1 | calc_binom_ci(x, method = "prop.test", conf.level = 0.95, na.rm = TRUE)
|
x |
Vector of [0, 1] values representing the sample |
method |
Which method to use to construct the interval. Must be one of "exact", "ac", "asymptotic", "wilson", "prop.test", "bayes", "logit", "cloglog", "probit". See 'binom' package for details. Default is "prop.test". |
conf.level |
The specified confidence level. Defatuls is 0.95. |
na.rm |
If 'TRUE', NA values will be removed from the sample. If 'FALSE', NA values will be set to 0. Default is 'TRUE'. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.