A helper for sub_dann
# S3 method for default
graph_eigenvalues(
x,
neighborhood_size = max(floor(nrow(x)/5), 50),
weighted = FALSE,
sphere = "mcd",
...
)A ggplot2 graph.
A data frame.
The number of data points used to calculate between and within class covariance.
weighted argument to ncoord. See fpc::ncoord() for details.
One of "mcd", "mve", "classical", or "none" See fpc::ncoord() for details.
Additional parameters passed to methods.
This function plots the eigenvalues found by fpc::ncoord(). The user
should make a judgement call on how many eigenvalues are large and set sub_dann's
numDim to that number.