Learn R Programming

rbscCI (version 0.1.1)

cpCI: Clopper-Pearson confidence interval

Description

Clopper-Pearson confidence interval

Usage

cpCI(n_tot, n_suc, conf, digits = 2)

Arguments

n_tot

Total number of experiments

n_suc

Number of successes

conf

Confidence level (1-alpha)

digits

Number of decimal places to be used

Details

Computes the Clopper-Pearson confidence interval.

Examples

Run this code
cpCI(100,25,0.95)

Run the code above in your browser using DataLab