View source: R/graph_eigenvalues.R
graph_eigenvalues | R Documentation |
A helper for sub_dann
graph_eigenvalues(
x,
...,
neighborhood_size = max(floor(nrow(x)/5), 50),
weighted = FALSE,
sphere = "mcd"
)
x |
A matrix or a dataframe. |
... |
Additional parameters passed to methods. |
neighborhood_size |
The number of data points used to calculate between and within class covariance. |
weighted |
weighted argument to ncoord. See |
sphere |
One of "mcd", "mve", "classical", or "none" See |
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.
A ggplot2 graph.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.