Extending base ggproto classes for ggside
Source:R/utils-side-facet.R
, R/side-facet_.R
, R/ggside-ggproto.r
ggside-ggproto-facets.Rd
check_scales_collapse
is a helper function that
is meant to be called after the inherited Facet's
compute_layout method
sidePanelLayout
is a helper function that
is meant to be called after the inherited Facet's
compute_layout method and after check_scales_collapse
S3 class that converts old Facet into one that is compatible with ggside. Can also update ggside on the object. Typically, the new ggproto will inherit from the object being replaced.
Usage
check_scales_collapse(data, params)
sidePanelLayout(layout, ggside)
ggside_facet(facet, ggside)