[R] How to place a title with layout?

Art Burke Art.Burke at educationnorthwest.org
Tue Jul 24 23:29:31 CEST 2012


Could someone please remind me how to place a title when using layout?

For example, how could I place "This is a demo of layout" as a title for the following, assuming it should go top center?

layout(matrix(c(1,2,3,4), 2, 2, byrow = TRUE))

replicate(4, plot(density(rnorm(10))))

Art
_______________________________________
Arthur Burke
Education Northwest | Senior Methodology Advisor
101 SW Main St, Suite 500; Portland OR 97204
503.275.9592
Art.Burke at educationnorthwest.org
http://educationnorthwest.org



More information about the R-help mailing list