plotRMSE.ipls {mdatools} | R 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
[Package mdatools version 0.14.1 Index]