Measure one standard deviation of the outcome, anchored at its mean
Source:R/gf_sd_ruler.R
StatSdRuler.RdReduces 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.
Format
A ggplot2::Stat object.
See also
gf_sd_ruler(), which pairs this stat with a segment for you.