Work

Arrange multiple ggplot2 plots in the same image window

Year: 2010
Type: other
Abstract: In a previous tutorial I showed you how to create plots faceted by the level of a third variable using ggplot2. A commenter asked about using faceted plots and viewports and reminded me of this function I found in the ggplot2 Google group. The arrange function below is similar to using par(mfrow=c(r,c)) in base graphics to put more than one plot in the same image window.
Language: English
Open Access status: gold
OpenAlex ID: W4417085991
Cites:
Cited by:
Related to: 10