join_plots: Plot several plots with a shared legend
Description
Plot several plots with a shared legend
Usage
join_plots(
plots,
ncol = length(plots),
nrow = 1,
position = c("right", "bottom"),
legend = TRUE
)
Arguments
plots
list of plot objects of class gg
or ggplot
ncol
Optional number of columns
position
position of the legend ("bottom" or "right")