Facet: Split data in to one or more panels

Description Methods Super class Methods

Description

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.


paleolimbot/ggr6 documentation built on Feb. 5, 2020, 2:17 p.m.