Extending base ggproto classes for ggside
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.
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
map_data_ggside
is the mapping function
used to replace all map_data method on FacetSideNull,
FacetSideGrid, and FacetSideWrap. It is exported
for conviences of extensibility.
as_ggsideFacet(facet, ggside) check_scales_collapse(data, params) sidePanelLayout(layout, ggside) map_data_ggside(data, layout, params)
facet |
Facet ggproto Object to replace |
ggside |
ggside object to update |
data |
data passed through ggproto object |
params |
parameters passed through ggproto object |
layout |
layout computed by inherited ggproto Facet compute_layout method |
ggproto object that can be added to a ggplot object
The following is a list ggplot2 facets that are available to use by ggside base.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.