confidence_interval | R Documentation |
Calculate the confidence interval
confidence_interval(.vector, .interval = 0.95)
.vector |
A numeric vector of data points |
.interval |
A numeric value representing the confidence level (e.g., 0.95 for 95% confidence interval) The default is 0.95 |
This function calculates the confidence interval for a given vector and interval.
A named vector with the lower and upper bounds of the confidence interval
Steven P. Sanderson II, MPH
Other Utility Functions:
convert_snake_to_title_case()
,
generate_caption()
,
get_attributes()
,
rand_walk_column_names()
,
rand_walk_helper()
,
running_quantile()
,
std_cum_max_augment()
,
std_cum_mean_augment()
,
std_cum_min_augment()
,
std_cum_prod_augment()
,
std_cum_sum_augment()
confidence_interval(rnorm(100), 0.95)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.