plotRMSE.regmodel {mdatools} | R Documentation |
RMSE plot for regression model
Description
Shows plot with root mean squared error values vs. number of components for PLS model.
Usage
## S3 method for class 'regmodel'
plotRMSE(
obj,
ny = 1,
type = "b",
labels = "values",
xticks = seq_len(obj$ncomp),
res = obj$res,
ylab = paste0("RMSE (", obj$res$cal$respnames[ny], ")"),
...
)
Arguments
obj |
a regression model (object of class |
ny |
number of response variable to make the plot for (if y is multivariate) |
type |
type of the plot("b", "l" or "h") |
labels |
what to show as labels (vector or name, e.g. "names", "values", "indices") |
xticks |
vector with ticks for x-axis values |
res |
list with result objects |
ylab |
label for y-axis |
... |
other plot parameters (see |
[Package mdatools version 0.14.1 Index]