calc_ci: Calculate Theoretical Confidence Interval

Description Usage Arguments Value

View source: R/confIntervals.R

Description

Computes confidence interval calculations for the mean and median. Mean interval based on T test; median interval based on binomial distribution.

Usage

1
calc_ci(r, alpha = 0.05, na.rm = F)

Arguments

r

Vector of numeric Values

alpha

Numeric value indicates confidence level, i.e. the interval covers 1 - alpha.

na.rm

Logical option indicating whethermissing values should be removed.

Value

List with four numeric vectors: the mean and median values and their respective confidence intervals.


jh-206/taxr documentation built on May 28, 2019, 12:22 p.m.