Description Usage Arguments Details Author(s)
Determine how many rows and plots to make for a certain
number of plots & make the appropriate call to
par(mfrow)
1 | auto.mfrow(nplots, setup = TRUE)
|
nplots |
an integer in [1,49] |
setup |
if |
eg 25 plots will cause par(mfrow=c(5,5)) to be called. The function fills in any unsued plotting spots, eg: auto.mfrow(7, TRUE) will set up a device with 3x3 spaces, then when auto.mfrow(7, FALSE) is called after the plots have been made, 2 blank plots will then be 'printed'. NB, you must call auto.mfrow TWICE, once before plotting, and once after plotting, UNLESS you know for sure that the nplots specified will fill all of the spaces.
Mark Cowley, 3 June 2006
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.