Panel: Panels

Description Methods

Description

Panel objects are the Geom-, Stat-, and Position-facing representation of the Coord, Scale, and Guide objects. Panels are created by the Facet and finalized by the Coord at the end of the build process. Currently they also train the Guide objects, but this is against the philosphy of the Panel (a vessel in which information relevant to the Panel is contained) and should be moved to the Builder.

Methods

Public methods


Method new()

Usage
Panel$new(coord = CoordIdentity$new(), scales = ScaleList$new())
Details

Create a Panel with a Coord and ScaleList.


Method position_scales()

Usage
Panel$position_scales()
Details

Returns a ScaleList for each position aesthetic defined by the Coord.


Method non_position_scales()

Usage
Panel$non_position_scales()
Details

Returns a ScaleList of scales representing non-position aesthetics.


Method transform()

Usage
Panel$transform(data)
Details

Calls the Coord's $transform() method.


Method clone()

The objects of this class are cloneable with this method.

Usage
Panel$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


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