For use with stat_summaryh. Corresponding function for vertical geoms is mean_se()

mean_se_h(x, mult = 1)

Arguments

x

numeric vector

mult

number of multiples of standard error

Value

A data frame with columns x, xmin, and xmax.

Examples

x <- rnorm(100)
mean_se_h(x)
#>             x       xmin       xmax
#> 1 -0.01718971 -0.1131641 0.07878466