plotResiduals.ldecomp: Residual distance plot

View source: R/ldecomp.R

plotResiduals.ldecompR Documentation

Residual distance plot

Description

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

Usage

## S3 method for class '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.


svkucheryavski/mdatools documentation built on Aug. 25, 2023, 12:27 p.m.