ggpmisc-ggproto: 'Stat*' Objects

cor_test_compute_funR Documentation

Stat* Objects

Description

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.

Details

Each of the Stat* objects is a ggproto object, derived from the top-level Stat, and each implements various methods and fields. To create a new type of Stat object, you typically will want to implement one or more of the following:

See Also

ggplot2-ggproto


ggpmisc documentation built on Nov. 16, 2023, 5:10 p.m.