neuralGAM object with base graphicsVisualization of a fitted neuralGAM. Plots learned partial effects, either as
scatter/line plots for continuous covariates or s for factor covariates.
Confidence intervals can be added if available.
# S3 method for neuralGAM
plot(
x,
select = NULL,
xlab = NULL,
ylab = NULL,
interval = c("none", "confidence", "prediction", "both"),
level = 0.95,
...
)Produces plots on the current graphics device.
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().
Ines Ortega-Fernandez, Marta Sestelo.