Learn R Programming

ggstance (version 0.3.7)

mean_se_h: Calculate mean and standard error

Description

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

Usage

mean_se_h(x, mult = 1)

Value

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

Arguments

x

numeric vector

mult

number of multiples of standard error

Examples

Run this code
x <- rnorm(100)
mean_se_h(x)

Run the code above in your browser using DataLab