Shows a plot with Q residuals vs. Hotelling T2 values for PLS decomposition of x data.
# S3 method for pls
plotXResiduals(obj, ncomp = NULL, main = NULL, xlab = "T2",
ylab = "Squared residual distance (Q)", ...)
a PLS model (object of class pls
)
how many components to use (if NULL - user selected optimal value will be used)
main title for the plot
label for x axis
label for y axis
other plot parameters (see mdaplotg
for details)
See examples in help for pls
function.