wilson_ci: Wilson Confidence Interval

View source: R/statistical_tests_and_estimates.R

wilson_ciR Documentation

Wilson Confidence Interval

Description

[Superseded] wilson_ci has been superseded by the use of binom_ci

Usage

wilson_ci(x, conf.level = 0.95)

Arguments

x

vector of type integer (0/1) or logical (TRUE/FALSE)

conf.level

confidence level (between 0 and 1)

Value

data.frame with with mean (mean), and bounds of confidence interval (lower, upper)

Examples


x <- c(rep(0, 500), rep(1, 500))
wilson_ci(x, conf.level = .90)


FredHutch/VISCfunctions documentation built on Oct. 14, 2024, 11:33 p.m.