dot-add.legend: Internal function. Add legend to a grid of plots and remove...

Description Usage Arguments


Given a list of ggplot2 plots, remove legend from each of them and return grid of such plots plus legend from the first vis. Suitable for plots with similar legends.


.add.legend(.vis.list, .vis.nrow = 2, .legend.ncol = 1)



A list with ggplot2 plots.


Number of rows of the resulting grid with plots.


Number of columns in the shared legend.

tcR documentation built on July 2, 2020, 3:18 a.m.