Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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)

Arguments

x

numeric vector

mult

number of multiples of standard error

Value

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

Examples

x <- rnorm(100)
mean_se_h(x)

ggstance

Horizontal 'ggplot2' Components

v0.3.5
GPL-3
Authors
Lionel Henry [aut, cre], Hadley Wickham [aut], Winston Chang [aut], RStudio [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.