plotRMSE.ipls: RMSE development plot

View source: R/ipls.R

plotRMSE.iplsR Documentation

RMSE development plot

Description

Shows how RMSE develops for each iteration of iPLS selection algorithm.

Usage

## S3 method for class 'ipls'
plotRMSE(
  obj,
  glob.ncomp = obj$gm$ncomp.selected,
  main = "RMSE development",
  xlab = "Iterations",
  ylab = if (is.null(obj$cv)) "RMSEP" else "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 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.

See Also

summary.ipls, plotSelection.ipls


mdatools documentation built on Aug. 13, 2023, 1:06 a.m.