Shows plot with predicted vs. reference (measured) y values for selected components.
# S3 method for pls
plotPredictions(obj, ncomp = NULL, ny = 1, main = NULL,
legend.position = "topleft", show.line = T, colmap = "default",
col = NULL, ...)
a PLS model (object of class pls
)
how many components to use (if NULL - user selected optimal value will be used)
number of response variable to make the plot for (if y is multivariate)
main plot title
position of legend on the plot (if shown)
logical, show or not line fit for the plot points
a colormap to use for coloring the plot items
a vector with color values for target lines fitted the points
other plot parameters (see mdaplotg
for details)
See examples in help for pls
function.