Skip to contents

Reduces a panel to the single segment a standard deviation ruler draws. The outcome is whichever axis carries it: with a y aesthetic the ruler is vertical and where places it along x; without one the outcome is on x and the ruler runs along the baseline from the mean. Both are measured in the space the panel is drawn in, so a facet measures its own subset and a transformed axis measures the transformed values.

Usage

StatSdRuler

Format

A ggplot2::Stat object.

See also

gf_sd_ruler(), which pairs this stat with a segment for you.