Shows a plot with Q vs. T2 residuals for SIMCA results
# S3 method for simcares
plotResiduals(obj, ncomp = NULL, show.limits = T,
type = "p", main = NULL, xlab = "T2",
ylab = "Squared residual distance (Q)", legend = NULL, ...)SIMCA results (object of class simcares)
which principal components to show the plot for
logical, show or not lines with statistical limits for the residuals
type of the plot
main plot title
label for x axis
label for y axis
vector with legend items
other plot parameters (see mdaplot for details)
See examples in help for simcares function.