plotRMSE.regres {mdatools} | R Documentation |
Shows plot with RMSE values vs. model complexity (e.g. number of components).
## 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], ")"), ... )
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 |