grombine | R Documentation |
combine ggplot grobs or plots
grombine(..., by = "x", size = "last", draw = T)
... |
plots/grobs to combine. A mix of the two is fine. |
by |
axis to combine plots by. Default: 'x' |
size |
which plot's dimensions to prioritise. One of 'first' or 'last'. Default: 'last' |
draw |
logical to return plot instead of grob. Default: T |
ggplot plot or grob object, with all objects in ... combined.
ggplotGrob
grid.draw
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.