Shows a plot with degrees of freedom computed for score distances at given number of components using data driven approach ("ddmoments" or "ddrobust").
plotT2DoF(
obj,
type = "b",
labels = "values",
xticks = seq_len(obj$ncomp),
ylab = "Nh",
...
)
a PCA model (object of class pca
)
type of the plot ("b", "l", "h")
what to show as data points labels
vector with tick values for x-axis
label for y-axis
other plot parameters (see mdaplotg
for details)
Work only if parameter lim.type
equal to "ddmoments" or "ddrobust".