plotXYResiduals.plsres: Residual distance plot

View source: R/plsres.R

plotXYResiduals.plsresR 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 'plsres'
plotXYResiduals(
  obj,
  ncomp = obj$ncomp.selected,
  norm = TRUE,
  log = FALSE,
  show.labels = FALSE,
  labels = "names",
  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.labels

logical, show or not labels for the plot objects

labels

what to show as labels if necessary

show.plot

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

...

most of graphical parameters from mdaplot function can be used.


mdatools documentation built on Sept. 11, 2024, 7:59 p.m.