ggside | R Documentation |
Set characteristics of side panels
ggside( x.pos = "top", y.pos = "right", scales = "fixed", collapse = NULL, draw_x_on = c("default", "main", "side"), draw_y_on = c("default", "main", "side"), strip = c("default", "main") )
x.pos |
x side panel can either take "top" or "bottom" |
y.pos |
y side panel can either take "right" or "left" |
scales |
Determines side panel's unaligned axis scale. Inputs are similar to facet_* scales function. Default is set to "fixed", but "free_x", "free_y" and "free" are acceptable inputs. For example, xside panels are aligned to the x axis of the main panel. Setting "free" or "free_y" will cause all y scales of the x side Panels to be independent. |
collapse |
Determines if side panels should be collapsed into a single panel. Set "x" to collapse all x side panels, set "y" to collapse all y side panels, set "all" to collapse both x and y side panels. |
draw_x_on, draw_y_on |
Determines where the axis is rendered. For example: By default, the bottom x-axis is rendered on the bottom most panel per column. If set to "main", then the axis is rendered on the bottom of the bottom most main panel. If set to "side", then the x-axis is rendered on the bottom of the bottom most side panel(s). You may apply this logic to all axis positions. |
strip |
Determines if the strip should be rendered on the main plot or
on their default locations. Only has an effect on |
a object of class 'ggside_options' or to be added to a ggplot
For more information regarding the ggside api: see xside or yside
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.