| yside | R Documentation |
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.
geom_yside* return a YLayer object to be added to a ggplot
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
xside
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.