Multiple Plots
Facets
facetGrid()- split data by one or two variables that vary in the X and/or Y direction.facetWrap()- split data by one or more variables with extra flexibility.
Cookbooks:
ggbunch
ggbunch- create a collection of plots that can have arbitrary location and size.
Cookbooks:
Demos:
gggrid
gggrid- combines several plots on one figure, organized in a regular grid.
Cookbooks:
Plot Tags
Plot tags are short labels attached to subplots and composite figures (panel labels, figure numbering). Specify them via labs(tag = ...) and tune placement/style with plotTag* in theme().
Cookbooks:
20 March 2026