mean_se: Calculate mean and standard error

Description Usage Arguments Value Examples

View source: R/stat-summary.r

Description

For use with stat_summary()

Usage

1
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

1
2
x <- rnorm(100)
mean_se(x)

tidyverse/ggplot2 documentation built on Jan. 11, 2019, 11:10 a.m.