cluster_discrimination: Compute a linear discriminant analysis on classified cluster groups
Description
Computes linear discriminant analysis (LDA) on classified cluster groups, and
determines the goodness of classification for each cluster group. See MASS::lda()
for details.
Group classification of the cluster analysis, which can
be retrieved from the cluster_analysis() function.
...
Other arguments to be passed to or from.
See Also
n_clusters() to determine the number of clusters to extract,
cluster_analysis() to compute a cluster analysis and
performance::check_clusterstructure() to check suitability of data for
clustering.
# Retrieve group classification from hierarchical cluster analysisclustering <- cluster_analysis(iris[, 1:4], n = 3)
# Goodness of group classificationcluster_discrimination(clustering)