Shows plot with y residuals for selected components.
# S3 method for pls
plotYResiduals(obj, ncomp = NULL, ny = 1, main = NULL,
show.line = T, ...)
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
logical, show or not line for 0 value
other plot parameters (see mdaplotg
for details)
See examples in help for pls
function.