Create multiple ggplot2 plots with a shared legend

grid_arrange_shared_legend(...)

Arguments

pass

the plots pass the dataframe

Value

ggplot2 with a shared legend

Details

This is borrowed directly from https://rpubs.com/sjackman/grid_arrange_shared_legend It requires ggplot2, grid, and gridExtra