awe {mclust} | R Documentation |
Computes a Bayesian criterion for assessing the number of clusters present in the data.
awe(tree, data)
tree |
an mhtree object.
|
data |
the data used to produce the mhtree object.
|
the approximate weight of evidence for each possible stage of merging.
Since mhtree
allows stopping and
starting at any stage, the result will contain NAs for those stages that have
been eliminated.
If you scaled your data before using mhtree
, be sure
to use the same scaling when supplying the data to awe
.
J. D. Banfield and A. E. Raftery, Model-based Gaussian and non-Gaussian Clustering, Biometrics, 49:803-821 (1993).
data(iris) iris.m _ iris[,1:4] awe.val <- awe(mhtree(iris.m), iris.m) plot(awe.val)