grid_arrange_shared_legend: This function is used to merge multiple ggplot2 object...

Description Usage Arguments

View source: R/grid_arrange_shared_legend.r

Description

This function is used to merge multiple ggplot2 object together and share same legend.

Usage

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

Arguments

...

ggplot2 objects

ncol

number of columns

nrow

number of rows

position

"bottom" or "right", location to place the legend

title

title of the graph


yujias424/larrys documentation built on Nov. 15, 2020, 9:27 a.m.