A helper for sub_dann
graph_eigenvalues(
x,
...,
neighborhood_size = max(floor(nrow(x)/5), 50),
weighted = FALSE,
sphere = "mcd"
)A ggplot2 graph.
A matrix or a dataframe.
Additional parameters passed to methods.
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.
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.