Learn R Programming

plotrix (version 3.8-4)

binciWl: Lower binomial confidence limit

Description

Returns the lower binomial confidence limit using the Wilson approximation.

Usage

binciWl(x,n,alpha=0.05,trueval=TRUE,na.rm=TRUE)

Value

The lower binomial confidence limit

Arguments

x

The number of successes or failures for which the CI is to be calculated.

n

The number of trials as above.

alpha

The desired coverage - 0.05 produces 95 percent coverage

trueval

The value representing the outcome of interest for the CI.

na.rm

Argument needed to make this work

Author

Jim Lemon

Details

binciWl now calls binciW and returns the lower limit.

See Also

binciWu

Examples

Run this code
 binciWl(c(rep(5,TRUE),rep(37,FALSE)))

Run the code above in your browser using DataLab