Description Usage Arguments Examples
View source: R/grid_arrange_shared_legend.R
grid arrange (from gridExtra) with common legend
1 2 3 4 5 6  | 
... | 
 list of ggplot objects  | 
nrow | 
 number of plot rows  | 
ncol | 
 number of plot columns (defaults to nr of plots)  | 
position | 
 position of legend.  | 
1  | grid_arrange_shared_legend(p1,p2,p3,p4, nrow=2,ncol=2)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.