Internal helper function to extract the values returned of plot.gam while suppressing creation of the plot.
plot.gam
get_plotGAMobject(model)
model
GAM model fitted with gam or bam.
gam
bam