plot.layout: Layout for plot methods in mrds
Description
This function does the paging, using devAskNewPage()
. This means we
can just call plots and R will make the prompt for us
Warning, this function has side effects! It modifies devAskNewPage
!
Usage
# S3 method for layout
plot(which, pages)
Arguments
which
which plots are to be created
pages
number of pages to span the plots across
Details
Code is stolen and modified from plot.R
in mgcv
by Simon Wood