All stat_ functions (like stat_bin()) return a layer that contains a Stat object (like StatBin). The Stat object is responsible for rendering the data in the plot. Each of the Stat objects is a ggproto object, descended from the top-level Stat, and each implements various methods and fields.

StatDensity_

StatHist_

StatBin_

StatCount_

StatSerialaxesDensity

StatSerialaxesHist

StatSerialaxes

StatDotProduct

Format

An object of class StatDensity_ (inherits from StatDensity, Stat, ggproto, gg) of length 4.

An object of class StatHist_ (inherits from StatBin, Stat, ggproto, gg) of length 4.

An object of class StatBin_ (inherits from StatHist_, StatBin, Stat, ggproto, gg) of length 2.

An object of class StatCount_ (inherits from StatHist_, StatBin, Stat, ggproto, gg) of length 2.

An object of class StatSerialaxesDensity (inherits from StatDensity, Stat, ggproto, gg) of length 4.

An object of class StatSerialaxesHist (inherits from StatBin, Stat, ggproto, gg) of length 4.

An object of class StatSerialaxes (inherits from Stat, ggproto, gg) of length 6.

An object of class StatDotProduct (inherits from StatSerialaxes, Stat, ggproto, gg) of length 4.