Learn R Programming

ggplot2 (version 3.1.0)

mean_se: Calculate mean and standard error

Description

For use with stat_summary()

Usage

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

Run this code
# NOT RUN {
x <- rnorm(100)
mean_se(x)
# }

Run the code above in your browser using DataLab