mest_se: Compute M-Estimator and its Standard Error for ggplot2

View source: R/ggplot2_summaries.R

mest_seR Documentation

Compute M-Estimator and its Standard Error for ggplot2

Description

Compute M-estimator and its standard error for a given vector. Can be used as fun.data in ggplot2's stat_summary.

Usage

mest_se(x)

Arguments

x

A numeric vector.

Value

A tibble with columns ymin, mean, and ymax.

Examples

x <- rnorm(200)

mest_se(x)

benediktclaus/benelib documentation built on Feb. 1, 2024, 1:39 a.m.