mean_ci_dist: Calculate the mean and confidence intervals of a distribution...

View source: R/ggplot_functions.R

mean_ci_distR Documentation

Calculate the mean and confidence intervals of a distribution - output designed for stat_summary in ggplot

Description

Calculate the mean and confidence intervals of a distribution - output designed for stat_summary in ggplot

Usage

mean_ci_dist(x, ci = 95)

Arguments

x

Dataset, a numerical vector.

ci

Width of the confidence interval in percents. Defaults to 95.


JackAHutchings/jahrfun documentation built on June 8, 2025, 3:09 a.m.