confint: Confidence Intervals

Description Usage Arguments Value Examples

Description

Confidence Intervals

Usage

1
2
3
confint_t(x, alpha = 0.05, na.rm = TRUE)

confint_norm(x, alpha = 0.05, na.rm = TRUE)

Arguments

x

A Numeric vector.

alpha

Alpha, default is 0.05.

na.rm

If TRUE (default), missing values are dropped.

Value

numeric of length one (size of CI in one direction).

Examples

1
2
3
4
5
6
set.seed(42)
df <- data.frame(x = runif(100), y = sample(c("A", "B"), 100, TRUE))
confint_t(df$x)
set.seed(42)
df <- data.frame(x = runif(100), y = sample(c("A", "B"), 100, TRUE))
confint_norm(df$x)

tadaatoolbox documentation built on July 2, 2020, 2:30 a.m.