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.bu...@educationnorthwest.org
http://educationnorthwest.org

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to