For use with stat_summary()
mean_se(x, mult = 1)
numeric vector.
number of multiples of standard error.
A data frame with three columns:
y
The mean.
ymin
The mean minus the multiples of the standard error.
ymax
The mean plus the multiples of the standard error.
x <- rnorm(100)
mean_se(x)
#> y ymin ymax
#> 1 -0.09132822 -0.1951865 0.01253002