For use with stat_summary
mean_se(x, mult = 1)
x | numeric vector |
---|---|
mult | number of multiples of standard error |
A data frame with columns y
, ymin
, and ymax
.
x <- rnorm(100) mean_se(x)#> y ymin ymax #> 1 0.07655989 -0.008357929 0.1614777