epi_plots_to_grid: Send a list of plots to a grid object

Description Usage Arguments Value Note Author(s) See Also

View source: R/epi_plots_to_grid.R

Description

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().

Usage

1
2
epi_plots_to_grid(plot_list = NULL, align = "hv", axis = "lrtb",
  labels = "AUTO", label_size = 12, ncol = NULL, nrow = NULL, ...)

Arguments

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()

Value

a cowplot grid object

Note

See example in epi_plot_cow_save and ggplot2 wrappers epi_plot_*().

Author(s)

Antonio Berlanga-Taylor <https://github.com/AntonioJBT/episcout>

See Also

epi_plot_list, epi_plot_cow_save, plot_grid, save_plot.


AntonioJBT/episcout documentation built on Nov. 7, 2019, 5:34 p.m.