Function Reference: manovacluster

statistics: manovacluster (stats)
statistics: manovacluster (stats, method)
statistics: h = manovacluster (stats)
statistics: h = manovacluster (stats, method)

Cluster group means using manova1 output.

manovacluster (stats) draws a dendrogram showing the clustering of group means, calculated using the output STATS structure from manova1 and applying the single linkage algorithm. See the dendrogram function for more information about the figure.

manovacluster (stats, method) uses the method algorithm in place of single linkage. The available methods are:

"single"— nearest distance
"complete"— furthest distance
"average"— average distance
"centroid"— center of mass distance
"ward"— inner squared distance

h = manovacluster (…) returns a vector of line handles.

See also: manova1

Source Code: manovacluster

Example: 1

 

 load carbig
 X = [MPG Acceleration Weight Displacement];
 [d, p, stats] = manova1 (X, Origin);
 manovacluster (stats)

                    
plotted figure