Learn R Programming

mdatools (version 0.14.1)

plotResiduals.ldecomp: Residual distance plot

Description

Shows a plot with orthogonal (Q, q) vs. score (T2, h) distances for data objects.

Usage

# S3 method for ldecomp
plotResiduals(
  obj,
  ncomp = obj$ncomp.selected,
  norm = FALSE,
  log = FALSE,
  show.plot = TRUE,
  ...
)

Arguments

obj

object of ldecomp class.

ncomp

number of components to show the plot for (if NULL, selected by model value will be used).

norm

logical, normalize distance values or not (see details)

log

logical, apply log tranformation to the distances or not (see details)

show.plot

logical, shall plot be created or just plot series object is needed

...

most of graphical parameters from mdaplot function can be used.