evalClusters: Evaluate or Compare the Quality of Clusters Quantitatively

View source: R/evalClusters.R

evalClustersR Documentation

Evaluate or Compare the Quality of Clusters Quantitatively

Description

This function is a wrapper for NbClust in package NbClust. It can be used to quantitatively compare different clustering options.

Usage

evalClusters(spectra, ...)

Arguments

spectra

An object of S3 class Spectra().

...

Other parameters to be passed to the function. In particular, NbClust package will need some parameters. See the example.

Value

A list giving the results, as described in NbClust.

Author(s)

Bryan A. Hanson (DePauw University).

References

M. Charrad et. al. "NbClust: An R Package for Determining the Relevant Number of Clusters in a Data Set." J. Stat. Soft. vol. 61 no. 6 October 2014.

See Also

hclust for the underlying base function. hcaSpectra for HCA analysis of a Spectra object. hcaScores for HCA analysis of PCA scores from a Spectra object. Additional documentation at https://bryanhanson.github.io/ChemoSpec/

Examples


## Not run: 
data(metMUD2)
res <- evalClusters(metMUD2, min.nc = 2, max.nc = 5, method = "average", index = "kl")

## End(Not run)


ChemoSpec documentation built on June 7, 2023, 6:13 p.m.