Facets as implemented in ggr6 split layer data into one or more pieces, and generate the list of Panel objects that contain the list of Scales, the list of Guides, and a reference to the Coordinate system. Eventually they will have to also draw the panels (currently this is the job of the Renderer). The default FacetNull draws one panel with all of each Layer's data.

Methods

Public methods


Method train()

Usage

Facet$train(data)


Method reset()

Usage

Facet$reset()


Method panels()

Usage

Facet$panels(coord, scales)


Method panel_data()

Usage

Facet$panel_data(data, panel)


Method clone()

The objects of this class are cloneable with this method.

Usage

Facet$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Super class

ggr6::Facet -> FacetNull

Methods

Public methods

Inherited methods

Method train()

Usage

FacetNull$train(data)


Method reset()

Usage

FacetNull$reset()


Method panels()

Usage

FacetNull$panels(coord, scales)


Method panel_data()

Usage

FacetNull$panel_data(data, panel)


Method clone()

The objects of this class are cloneable with this method.

Usage

FacetNull$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.