plotPredictions.regres: Predictions plot for regression results
Description
Shows plot with predicted y values.
Usage
## S3 method for class 'regres':
plotPredictions(obj, ny = 1, ncomp = NULL,
main = "Predictions", xlab = NULL, ylab = NULL, show.line = T,
colmap = "default", col = NULL, ...)
Arguments
obj
regression results (object of class
regres)
ny
number of predictor to show the plot for (if y
is multivariate)
ncomp
complexity of model (e.g. number of
components) to show the plot for
main
main title for the plot
xlab
label for x axis
ylab
label for y axis
show.line
logical, show or not line fit for the
plot points
colmap
a colormap to use for coloring the plot
items
col
a vector with color values for plot items
...
other plot parameters (see mdaplot for
details)
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.