proportion: Estimate proportions with confidence intervals

Description Usage Arguments Author(s) See Also

View source: R/proportion.R

Description

This is a wrapper around the binom.test function.

Usage

1
proportion(x, n, ci = 0.95)

Arguments

x

number of successes, or a vector of length 2 giving the numbers of successes and failures, respectively.

n

number of trials; ignored if x has length 2.

ci

confidence level for the returned confidence interval.

Author(s)

Marc Choisy

See Also

binom.test


choisy/mcstats documentation built on May 21, 2019, 3:08 a.m.