This method prints the output of plot.gamViz.
# S3 method for plotGam
print(x, ask = TRUE, pages = NULL, addLay = TRUE, ...)
Returns the output of gridExtra::grid.arrange, invisibly.
an object of class plotGam
.
should we ask before moving from one page to the next?
the number of pages over which to spread the output.
if TRUE, and if the $empty
slot of the plotGam
object is TRUE,
we add some default layers to the plots, before printing. Does not have
any affect if the plotGam
object already contains some layers.
further arguments to be passed to grid.arrange
.