| plotRMSE.ipls | R Documentation |
Shows how RMSE develops for each iteration of iPLS selection algorithm.
## 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,
...
)
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. |
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.
summary.ipls, plotSelection.ipls
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.