manovacluster
Dendrogram of group mean clusters following MANOVA
Syntax
manovacluster(stats)
manovacluster(stats,method
)
manovacluster(ax,___)
H = manovacluster(stats,method
)
Description
manovacluster(stats)
generates
a dendrogram plot of the group means after a multivariate analysis
of variance (MANOVA). stats
is the output stats
structure
from manova1
. The clusters are
computed by applying the single linkage method to the matrix of Mahalanobis
distances between group means.
See dendrogram
for more
information on the graphical output from this function. The dendrogram
is most useful when the number of groups is large.
manovacluster(stats,
uses the specified method in place of single linkage. method
)method
can be one of these values, which identify the methods used to create the cluster
hierarchy. (See linkage
for additional
information.)
Method | Description |
---|---|
| Shortest distance (default) |
| Largest distance |
| Average distance |
| Centroid distance |
| Incremental sum of squares |
manovacluster(ax,___)
plots into the axes specified by
ax
instead of the current axes (gca
) using any of the input argument combinations in the previous
syntaxes. (since R2024a)
H = manovacluster(stats,
returns
a vector of handles to the lines in the figure.method
)
Examples
Version History
Introduced before R2006aSee Also
cluster
| dendrogram
| linkage
| manova1