binconf(x, n, alpha=0.05, method=c("wilson","exact","asymptotic","all"), include.x=FALSE, include.n=FALSE, return.df=FALSE)
x
should be included in the
returned matrix or data frame
n
should be included in the
returned matrix or data frame
x
and n
.
R.G. Newcombe, Logit confidence intervals and the inverse sinh transformation, American Statistician, 55:200--202, 2001.
L.D. Brown, T.T. Cai and A. DasGupta, Interval estimation for a binomial proportion (with discussion), Statistical Science, 16:101--133, 2001.
binconf(0:10,10,include.x=TRUE,include.n=TRUE)
binconf(46,50,method="all")
Run the code above in your browser using DataCamp Workspace