gg2spectra-ggproto: 'Stat*' Objects

GeomSpctR 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.

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.

Usage

StatFindWls

StatFindQty

StatLabelValleys

StatValleys

Format

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

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

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

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

Details

Each of the Stat* objects is a ggproto object, descended 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:

Each of the Stat* objects is a ggproto object, descended 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

ggplot2-ggproto

ggplot2-ggproto

ggplot2-ggproto


ggspectra documentation built on Oct. 22, 2023, 1:07 a.m.