yside: The yside geometries

ysideR Documentation

The yside geometries

Description

yside refers to the api of ggside. Any geom_ with yside will plot its respective geometry along the y-axis per facet panel. The yside panel will plot to the right of the main panel by default. This yside panel will always share the same scale as it's main panel, but is expected to have a separate x-axis scaling.

Value

geom_yside* return a YLayer object to be added to a ggplot

New Aesthetics

All yside Geometries have yfill, ycolour/ycolor available for aesthetic mappings. These mappings behave exactly like the default counterparts except that they are considered separate scales. All yside geometries will use yfill over fill, but will default to fill if yfill is not provided. The same goes for ycolour in respects to colour. This comes in handy if you wish to map both fill to one geometry as continuous, you can still map yfill for a separate yside geometry without conflicts. See more information in vignette("ggside").

#' @section Exported Geometries:

The following are the yside variants of the ggplot2 Geometries

  • geom_ysidebar

  • geom_ysideboxplot

  • geom_ysidecol

  • geom_ysidedensity

  • geom_ysidefreqpoly

  • geom_ysidehistogram

  • geom_ysideline

  • geom_ysidepath

  • geom_ysidepoint

  • geom_ysidetext

  • geom_ysidetile

  • geom_ysideviolin

See Also

xside


ggside documentation built on May 29, 2024, 5:06 a.m.