Shows plot with predicted y values.
# S3 method for regres
plotPredictions(obj, ny = 1, ncomp = NULL, show.line = T,
show.stat = F, stat.col = "#606060", stat.cex = 0.85, axes.equal = 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
logical, show or not legend with statistics on the plot
color of text in legend with statistics
size of text in legend with statistics
logical, make limits for x and y axes equal or not
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.