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)

czxa/ggplot2 documentation built on Oct. 8, 2018, 12:11 a.m.