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.
new()
Panel$new(coord = CoordIdentity$new(), scales = ScaleList$new())
Create a Panel with a Coord and ScaleList.
position_scales()
Panel$position_scales()
Returns a ScaleList for each position aesthetic defined by the Coord.
non_position_scales()
Panel$non_position_scales()
Returns a ScaleList of scales representing non-position aesthetics.
transform()
Panel$transform(data)
Calls the Coord's $transform()
method.
clone()
The objects of this class are cloneable with this method.
Panel$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.