plotDistDoF function

Degrees of freedom plot for both distances

Degrees of freedom plot for both distances

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

plotDistDoF( obj, type = "b", labels = "values", xticks = seq_len(obj$ncomp), ... )

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
  • ...: other plot parameters (see mdaplotg for details)

Details

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

  • Maintainer: Sergey Kucheryavskiy
  • License: MIT + file LICENSE
  • Last published: 2024-08-19