Learn R Programming

mdatools (version 0.7.0)

plotSelection.ipls: iPLS performance plot

Description

Shows PLS performance for each selected or excluded intervals at the first iteration

Usage

"plotSelection"(obj, glob.ncomp = NULL, xlabels = NULL, main = "iPLS results", xlab = "Variables", ylab = "RMSECV", xlim = NULL, ylim = NULL, ...)

Arguments

obj
iPLS results (object of class ipls)
glob.ncomp
number of components for global PLS model with all intervals
xlabels
vector with values to be used for x axis ticks (if NULL variable number is used)
main
main title for the plot
xlab
label for x-axis
ylab
label for y-axis
xlim
limits for x-axis
ylim
limits for y-axis
...
other arguments

Details

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.

See Also

summary.ipls, plotRMSE.ipls