Shows PLS performance for each selected or excluded intervals at the first iteration.
# S3 method for ipls
plotSelection(
obj,
glob.ncomp = obj$gm$ncomp.selected,
main = "iPLS results",
xlab = obj$xaxis.name,
ylab = if (is.null(obj$cv)) "RMSEP" else "RMSECV",
xlim = NULL,
ylim = NULL,
...
)
iPLS results (object of class ipls).
number of components for global PLS model with all intervals.
main title for the plot.
label for x-axis.
label for y-axis.
limits for x-axis.
limits for y-axis.
other arguments.
The plot shows intervals as bars, which height corresponds to RMSECV obtained when particular interval was selected (forward) or excluded (backward) from a model at the first iteration. The intervals found optimal after backward/forward iPLS selection are shown with green color while the other intervals are gray.
See examples in help for ipls
function.
@seealso
summary.ipls
, plotRMSE.ipls