Usage
"plotYResiduals"(obj, ncomp = NULL, ny = 1, type = "p", main = NULL, ylab = NULL, xlab = NULL, show.line = T, show.labels = F, show.legend = T, ...)
Arguments
obj
a PLS model (object of class pls
)
ncomp
how many components to use (if NULL - user selected optimal value will be used)
ny
number of response variable to make the plot for (if y is multivariate)
show.line
logical, show or not line for 0 value
show.labels
logical, show or not labels for the plot elements
show.legend
logical, show or not legend for the plot
...
other plot parameters (see mdaplotg
for details)