Learn R Programming

mdatools (version 0.9.1)

plotRMSE.ipls: RMSE development plot

Description

Shows how RMSE develops for each iteration of iPLS selection algorithm

Usage

# S3 method for ipls
plotRMSE(obj, glob.ncomp = NULL, main = "RMSE development",
  xlab = "Iterations", 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

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 RMSE values obtained at each iteration of the iPLS selection algorithm as bars. The first bar correspond to the global model with all variables included, second - to the model obtained at the first iteration and so on. Number at the bottom of each bar corresponds to the interval included or excluded at the particular iteration. The selected intervals are shown with green color.

See Also

summary.ipls, plotSelection.ipls