This method prints the output of plot.gamViz.

# S3 method for plotGam
print(x, ask = TRUE, pages = NULL, addLay = TRUE, ...)

Arguments

x

an object of class plotGam.

ask

should we ask before moving from one page to the next?

pages

the number of pages over which to spread the output.

addLay

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.

Value

Returns the output of gridExtra::grid.arrange, invisibly.