calc_binom_ci: Calculate a binomial proportion confidence interval from a...

Description Usage Arguments

Description

Uses any of various techniques for calculating a binomial proportion confidence interval from a sample using the 'binom' package

Usage

1
calc_binom_ci(x, method = "prop.test", conf.level = 0.95, na.rm = TRUE)

Arguments

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'.


Prometheus77/ezplot documentation built on May 26, 2019, 3:35 p.m.