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
plot_layout(which, pages)
Arguments
- which
which plots are to be created
- pages
number of pages to span the plots across
Author
David L. Miller, based on code by Simon N. Wood
Details
Code is stolen and modified from plot.R
in mgcv
by Simon Wood