Learn R Programming

mdatools (version 0.7.0)

plotResiduals.ldecomp: Residuals plot for linear decomposition

Description

Shows a plot with T2 vs Q values for data objects.

Usage

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

Arguments

obj
object of ldecomp class.
ncomp
what number of components to show the plot for (if NULL, model selected value will be used).
main
main title for the plot
xlab
label for x axis
ylab
label for y axis
show.labels
logical, show or not labels for the plot objects
show.limits
logical, show or not lines for statistical limits of the residuals
...
most of graphical parameters from mdaplot function can be used.