If I create a plotting window in R with m rows and n columns, how can I give the “overall” graphic a main title?
For example, I might have three scatterplots showing the relationship between GPA and SAT score for 3 different schools. How could I give one master title to all three plots, such as, “SAT score vs. GPA for 3 schools in CA”?
The most obvious methods that come to my mind are to use either Lattice or ggplot2. Here’s an example using lattice:
In lattice you would change the main= parameter.
The above example was lifted from here.
I don’t have a good ggplot2 example, but there are a metricasston of examples with ggpolot2 over at the learn r blog.
One option might be this example where they use ggplot2 and
But you would have to have all three graphs created in gg2plot, naturally.
I think you should be fine with either lattice or ggplot2.