Learn R Programming

mdatools (version 0.7.0)

plotResiduals.simcares: Residuals plot for SIMCA results

Description

Shows a plot with Q vs. T2 residuals for SIMCA results

Usage

"plotResiduals"(obj, ncomp = NULL, show.limits = T, type = "p", main = NULL, xlab = "T2", ylab = "Squared residual distance (Q)", legend = NULL, ...)

Arguments

obj
SIMCA results (object of class simcares)
ncomp
which principal components to show the plot for
show.limits
logical, show or not lines with statistical limits for the residuals
type
type of the plot
main
main plot title
xlab
label for x axis
ylab
label for y axis
legend
vector with legend items
...
other plot parameters (see mdaplot for details)

Details

See examples in help for simcares function.