plotTerm(label, m, cumulative=TRUE, aggregate=mean, quantiles=c(0.1,
0.9), gridlength=40, contours=30, ggElems=list())
spikeSlabGAM
modellabel
are cumulated and then plotted.
(e.g, if label
denotes a smoooth term, the sum of the linear and smooth effect is displayed, if label
ggplot
. Use this to supply custom themes, colour schemes etc.
Defaults to an empty list, which yields the standard settings.ggplot
. Use print
or wrap the call to plotTerm
in parentheses to directly render on a graphic device.aggregate
values. Contour lines are shown only inside the convex hull
of the original observations.
Plots for link{srf}
:link{lin}
terms
show the spatially varying coefficient, i.e. the contour lines represent the change in the linear predictor when the lin
-covariate
increases by 1 standard deviation. For this reason, a cumulative plot makes no sense and the routine will
set cumulative=FALSE
with a warning.
Limitations:
Plots for 4-way (or higher) interactions are not implemented. Requesting such a plot will return the NULL object with a warning.
Plots for mrf
just treat the grouping variable as a conventional factor i.e. will not incorporate any neighborhood
or map information.