plotT2DoF: Degrees of freedom plot for score distance (Nh)

View source: R/pca.R

plotT2DoFR Documentation

Degrees of freedom plot for score distance (Nh)

Description

Shows a plot with degrees of freedom computed for score distances at given number of components using data driven approach ("ddmoments" or "ddrobust").

Usage

plotT2DoF(
  obj,
  type = "b",
  labels = "values",
  xticks = seq_len(obj$ncomp),
  ylab = "Nh",
  ...
)

Arguments

obj

a PCA model (object of class pca)

type

type of the plot ("b", "l", "h")

labels

what to show as data points labels

xticks

vector with tick values for x-axis

ylab

label for y-axis

...

other plot parameters (see mdaplotg for details)

Details

Work only if parameter lim.type equal to "ddmoments" or "ddrobust".


mdatools documentation built on Aug. 13, 2023, 1:06 a.m.