| StatReduce | R Documentation |
A reduction uses the same endpoint representation as a residual, but its starting point is the grand mean rather than the observation. The separate stat class keeps that statistical meaning visible to ggplot2 users and to code inspecting the layer. GeomResid and GeomSquareResid can draw either stat.
StatReduce
A ggplot2::Stat object.
stat_reduce(), geom_reduce(), and geom_square_reduce().
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.