Define ggplot summary function to return mean +/- SD VERTICAL

mean_sd_v(x)

Arguments

x

Numeric vector

Value

Data frame with xmin, x, and xmax summaries

Examples

mean_sd_v(rnorm(100))
#> ymin y ymax #> 1 -0.7415233 0.1434329 1.028389