Learn R Programming

mdatools (version 0.9.1)

plotResiduals.ldecomp: Residuals plot for linear decomposition

Description

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

Usage

# S3 method for ldecomp
plotResiduals(obj, ncomp = NULL, main = NULL,
  xlab = NULL, ylab = NULL, show.labels = F, ...)

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

...

most of graphical parameters from mdaplot function can be used.