powered by
Get the lower and upper bounds for an empirical confidence interval
lower_bound(x, alpha)upper_bound(x, alpha)
upper_bound(x, alpha)
the value of the lower or upper bound for the confidence interval
vector of test statistics, such as from permutation tests or bootstraps
alpha level for the confidence interval (default: 0.05 to obtain a 95% confidence interval)
0.05
lower_bound(): Get the lower bound for an empirical confidence interval
lower_bound()
upper_bound(): Get the upper bound for an empirical confidence interval
upper_bound()
if (FALSE) { x <- 1:10000 lower_bound(x, 0.05) upper_bound(x, 0.05) }
Run the code above in your browser using DataLab