plotRMSE.regres {mdatools} | R Documentation |
RMSE plot for regression results
Description
Shows plot with RMSE values vs. model complexity (e.g. number of components).
Usage
## S3 method for class 'regres'
plotRMSE(
obj,
ny = 1,
type = "b",
xticks = seq_len(obj$ncomp),
labels = "values",
show.plot = TRUE,
ylab = paste0("RMSE (", obj$respnames[ny], ")"),
...
)
Arguments
obj |
regression results (object of class |
ny |
number of predictor to show the plot for (if y is multivariate) |
type |
type of the plot |
xticks |
vector with ticks for x-axis |
labels |
what to use as labels ("names", "values" or "indices") |
show.plot |
logical, show plot or just return plot data |
ylab |
label for y-axis |
... |
other plot parameters (see |
[Package mdatools version 0.14.1 Index]