plot_custom_grid: Make a custom grid of plots

Description Usage Arguments Value See Also

View source: R/align_ggplots.R

Description

Make a custom grid of plots

Usage

1
2
plot_custom_grid(..., nrow = 1, ncol = 1, heights = NA, widths = NA,
  plot = TRUE)

Arguments

...

some ggplots (or gtables)

nrow

number of rows

ncol

number of columns

heights

the heights of each row (must correspond to nrow)

widths

the width of each plot in output (must correspond to ncol)

plot

print plot?

Value

If plot is True, then makes plot and returns gtable of plot invisibly. Else, just returns gtable

See Also

align_plots_vert and align_plots_hor


AliciaSchep/rplotfriend documentation built on May 5, 2019, 4:54 a.m.