Arguments
y1
The ratio numerator number of successes. A scalar or vector.
n1
The ratio numerator number of trials. A scalar or vector of length(y1)
pi2
The denominator proportion. A scalar or vector of length(y1)
method
One of "ac", "wald" or "fixed"
for the adjusted Agresti-Coull, adjusted Wald, and log methods respectively. Partial distinct names can be used.
conf
The level of confidence, i.e. 1 - P(type I error).
bonf
Logical, indicating whether or not Bonferroni corrections should be applied for
simultaneous inference if y1, y2, n1
and n2
are vectors.