Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

update_ci

Update confidence interval


Description

Update the confidence interval portion of an object returned from binom.test using one of several alternative methods.

Usage

update_ci(
  object,
  method = c("clopper-pearson", "wald", "agresti-coull", "plus4", "score", "prop.test")
)

Arguments

object

An "htest" object produced by binom.test()

method

a method for computing a confidence interval for a proportion.

Value

an "htest" object with an updated confidence interval

See Also


mosaic

Project MOSAIC Statistics and Mathematics Teaching Utilities

v1.8.3
GPL (>= 2)
Authors
Randall Pruim [aut, cre], Daniel T. Kaplan [aut], Nicholas J. Horton [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.