View source: R/epi_plots_to_grid.R
epi_plots_to_grid | R Documentation |
A light wrapper for cowplot::plot_grid(). Send a list of plots to a grid for multi-plot figures. Makes assumptions and hard-codes preferences. All options are passed to plot_grid().
epi_plots_to_grid(
plot_list = NULL,
align = "hv",
axis = "lrtb",
labels = "AUTO",
label_size = 12,
ncol = NULL,
nrow = NULL,
...
)
plot_list |
List of plots to be arranged into the grid. |
align |
cowplot vertical and/or horizontal alignment. Default is 'hv'. |
axis |
Align left, right, top or bottom and order. Default is 'lrtb'. |
labels |
Default is 'AUTO'. |
label_size |
Default is 12. |
ncol |
Number of columns in the plot grid. |
nrow |
Number of rows in the plot grid. |
... |
Pass any other parameter from plot_grid() |
a cowplot grid object
See example in epi_plot_cow_save
and ggplot2 wrappers epi_plot_*().
Antonio Berlanga-Taylor <\url{https://github.com/AntonioJBT/episcout}>
epi_plot_list
,
epi_plot_cow_save
,
plot_grid
,
save_plot
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.