Shows plot with predicted y values.
# S3 method for regres
plotPredictions(obj, ny = 1, ncomp = NULL, show.line = T,
col = mdaplot.getColors(1), ...)
regression results (object of class regres
)
number of predictor to show the plot for (if y is multivariate)
complexity of model (e.g. number of components) to show the plot for
logical, show or not line fit for the plot points
color for the plot objects.
other plot parameters (see mdaplot
for details)
If reference values are available, the function shows a scatter plot with predicted vs. reference values, otherwise predicted values are shown vs. object numbers.