Visualization of a fitted neuralGAM
. Plots learned partial effects, either as
scatter/line plots for continuous covariates or s for factor covariates.
Confidence and/or prediction intervals can be added if available.
A fitted neuralGAM
object as produced by neuralGAM()
.
Character vector of terms to plot. If NULL
(default),
all terms are plotted.
Optional custom x-axis label(s).
Optional custom y-axis label(s).
One of c("none","confidence","prediction","both")
.
Default "none"
. Controls whether intervals are plotted.
Coverage level for intervals (e.g. 0.95
). Default 0.95
.
Additional graphical arguments passed to plot()
.
Produces plots on the current graphics device.