Coordinate systems pick which aesthetics are position aesthetics,
finalize the Panel at the end of the build process, and transform
coordinates. Regardless of their aesthetics, they should always
return from their $transform() method a data frame with x and y
columns. The default CoordIdentity does not change the Panel and
performs no changes in its $transform() method.
new()Coord$new(aesthetics = c("x", "y"))Create a coordinate system representing one or more position
aesthetics.
transform()Coord$transform(data_mapped, scales)
Transform a data frame containing columns representing one or more
position $aesthetics. This method should always return a data frame
with x and y columns and leave non-position columns unchanged.
finalize_panel()Coord$finalize_panel(panel)
Finalize the Panel object at the end of the build process. This is where scale expansion (if any) can occur.
clone()The objects of this class are cloneable with this method.
Coord$clone(deep = FALSE)
deepWhether to make a deep clone.
ggr6::Coord -> CoordIdentity
Inherited methods
transform()CoordIdentity$transform(data_mapped, scales)
finalize_panel()CoordIdentity$finalize_panel(panel)
clone()The objects of this class are cloneable with this method.
CoordIdentity$clone(deep = FALSE)
deepWhether to make a deep clone.