View source: R/ggplot2_summaries.R
tr_mean_se | R Documentation |
Compute 20% trimmed mean and standard error for a given vector. Can be used
as fun.data
in ggplot2's stat_summary
.
tr_mean_se(x)
x |
A numeric vector. |
A tibble with columns ymin
, mean
, and ymax
.
x <- rnorm(200)
tr_mean_se(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.