For use with stat_summary()

mean_se(x, mult = 1)

Arguments

x

numeric vector

mult

number of multiples of standard error

Value

A data frame with columns y, ymin, and ymax.

Examples

x <- rnorm(100) mean_se(x)
#> y ymin ymax #> 1 -0.06067439 -0.1579107 0.03656194