confint_t
From tadaatoolbox v0.16.0
by Lukas Burk
Confidence Intervals
Confidence Intervals
Usage
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
# NOT RUN {
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)
# }
Community examples
Looks like there are no examples yet.