Learn R Programming

mdatools (version 0.7.0)

plotResiduals.simcamres: Residuals plot for SIMCAM results

Description

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

Usage

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

Arguments

obj
SIMCAM results (object of class simcamres)
nc
which class (SIMCA model) 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 mdaplotg for details)

Details

See examples in help for simcamres function.