Shows a plot with Q vs. T2 residuals for SIMCA results
# S3 method for simcares
plotResiduals(obj, ncomp = NULL, main = NULL,
xlab = NULL, ylab = NULL, norm = F, show.limits = T, legend = NULL,
lim.col = c("#c0a0a0", "#906060"), lim.lwd = c(1, 1), lim.lty = c(2, 3),
...)
SIMCA results (object of class simcares
)
which principal components to show the plot for
main plot title
label for x axis
label for y axis
logical, show normalized Q vs T2 (norm = T
) values or original ones (norm = F
)
logical, show or not lines with statistical limits for the residuals
vector with legend items
vector with two values - line color for extreme and outlier borders
vector with two values - line width for extreme and outlier borders
vector with two values - line type for extreme and outlier borders
other plot parameters (see mdaplot
for details)
See examples in help for simcares
function.