View source: R/layout-chain-stack-cross.R
stack_cross | R Documentation |
The stack_cross
function is derived from stack_discrete()
and allows
for different layout ordering indices within a single layout.
Two aliases are provided for convenience:
stack_crossv
: A special case of stack_cross
that sets
direction = "v"
for vertical alignment.
stack_crossh
: A special case of stack_cross
that sets
direction = "h"
for horizontal alignment.
stack_cross(direction, data = NULL, ..., theme = NULL, sizes = NA)
stack_crossv(data = NULL, ...)
stack_crossh(data = NULL, ...)
direction |
A string indicating the direction of the stack layout,
either |
data |
Default dataset to use for the layout. If not specified, it must be supplied in each plot added to the layout, |
... |
Additional arguments passed to |
theme |
A |
sizes |
A numeric value or a |
ggcross()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.