'facet_share' uses [facet_wrap()] to build two panels with a shared axis.
1 2 3 4 5 6 7 8 9 10 11 12 |
facets |
A set of variables or expressions quoted by For compatibility with the classic interface, can also be a
formula or character vector. Use either a one sided formula, |
scales |
Should scales be fixed ( |
reverse_num |
Used when passing on flipped data (times -1) for the second (right/bottom) panel. If 'TRUE', this will multiply the axis labels for that panel by -1. |
shrink |
If |
labeller |
A function that takes one data frame of labels and
returns a list or data frame of character vectors. Each input
column corresponds to one factor. Thus there will be more than
one with |
as.table |
If |
switch |
By default, the labels are displayed on the top and
right of the plot. If |
drop |
If |
dir |
Direction: either |
strip.position |
By default, the labels are displayed on the top of
the plot. Using |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.