Plots on the linear predictor scale the component functions of a GeDSgam
object fitted using NGeDSgam
.
# S4 method for GeDSgam,ANY
plot(x, base_learners = NULL, f = NULL, n = 3L, ...)
a GeDSgam-class
object from which the GeDSgam fit(s) should
be extracted.
either NULL or a vector of character string specifying the base-learners of the model for which predictions should be plotted. Note that single base-learner predictions are provided on the linear predictor scale.
(optional) specifies the underlying component function or generating process to which the model was fit. This parameter is useful if the user wishes to plot the specified function/process alongside the model fit and the data.
integer value (2, 3 or 4) specifying the order (\(=\) degree \(+ 1\)) of the GAM-GeDS fit.
further arguments to be passed to the
plot.default
function.