grid_arrange_shared_legend: grid arrange (from gridExtra) with common legend

Description Usage Arguments Examples

View source: R/grid_arrange_shared_legend.R

Description

grid arrange (from gridExtra) with common legend

Usage

1
2
3
4
5
6
grid_arrange_shared_legend(
  ...,
  nrow = 1,
  ncol = length(list(...)),
  position = c("bottom", "right")
)

Arguments

...

list of ggplot objects

nrow

number of plot rows

ncol

number of plot columns (defaults to nr of plots)

position

position of legend.

Examples

1

josiahpjking/jkr documentation built on Sept. 7, 2020, 3:54 a.m.