Compute a confidence interval for the proportion of a response variable using the normal distribution.
Usage
prop.conf(x, n, conf = 0.95, ...)
Value
A vector with two values: lower and upper confidence limits for the proportion of the response variable.
Arguments
x
a vector of counts of successes, a one-dimensional table with two entries, or a two-dimensional table (or matrix) with 2 columns, giving the counts of successes and failures, respectively.
n
a vector of counts of trials; ignored if x is a matrix or a table.