grid_arrange_shared_legend: Arrange multiple ggplots with single legend

Description Usage Arguments

View source: R/graphics.R

Description

Take a list of plots, arrange in a grid with a title

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
grid_arrange_shared_legend(
  ...,
  plots = NULL,
  colN = NULL,
  rowN = NULL,
  layOut = NULL,
  position = c("bottom", "right"),
  Title = NULL,
  TitleJust = 1,
  TitleSize = 18
)

Arguments

...

plots

plots

list of plots

layOut

matrix for layout of plots

position

where should the legend be

Title

optional title

TitleJust

Title justification 0 = right, 0.5 = center, 1 = left

TitleSize

Title size in points

ncolN

number of columns for plots grob

nrowN

number of rows for plots grob


duanxd1/gfuns documentation built on March 7, 2020, 12:46 a.m.