Printing multiple ggplots in oone file
Print multiple ggplots in one file. Slightly modified for packaging from the original version in the web.
multiplot(..., plotlist = NULL, cols = 1, layout = NULL)
...
: A list of ggplot objects separated by commas.plotlist
: A list of ggplot objectscols
: The number of columns.layout
: A matrix specifying the layout. If present, 'cols' is ignored.A plot object
http://www.cookbook-r.com/Graphs/Multiple_graphs_on_one_page_(ggplot2)/