Learn R Programming

traitstrap (version 0.1.0)

get_ci: Get confidence intervals

Description

Internal helper function for generating CIs.

Usage

get_ci(data, sd_mult = 1, ci = 0.95, which, parametric = TRUE)

Value

numeric vector length 1

Arguments

data

Numeric vector

sd_mult

SD multiplier. defaults to 1

ci

0 to 1

which

"high" or "low"

parametric

if TRUE, sd used, if FALSE, quantile