Learn R Programming

mclust (version 1.1-7)

mhtree.EFV: Classification tree for hierarchical clustering for Gaussian models with equal volume and fixed shape.

Description

Computes a classicification tree for agglomerative hierarchical clustering using a Gaussian model in which clusters have a fixed shape and are of equal volume.

Usage

mhtree.EFV(data, partition, min.clusters = 1, shape)

Arguments

data
matrix of observations.
partition
initial classification of the data. The default puts every observation in a singleton cluster.
min.clusters
minimum number of clusters desired. The default is to carry out agglomerative hierarchical clustering until termination, that is, until all observations belong to a single group. The default value is 1.
shape
positive vector of length equal to the dimension of the observations. The values of shape should be proportional to the squares of the lengths of the semi-major axes of the corresponding ellipsoid, and may be given in any order. Note that

Value

  • an object of class "mhtree", which consists of a classification tree with the following attributes:
  • calla copy of the call to mhtree.EFV.
  • changevalue of the optimal change in likelihood at each stage.
  • dimensionsthe data dimensions.
  • initial.partitionthe partition at which agglomerative hierarchical clustering is initiated.

References

J. D. Banfield and A. E. Raftery, Model-based Gaussian and non-Gaussian Clustering, Biometrics,49:803-821 (1993).

C. Fraley, Algorithms for Model-based Gaussian Hierarchical Clustering,Technical Report No. 311, Department of Statistics, University of Washington (October 1996), to appear in SIAM Journal on Scientific Computing.

F. Murtagh and A. E. Raftery, Fitting straight lines to point patterns, Pattern Recognition,17:479-483 (1984).

See Also

mhtree, mhclass, awe, partuniq

Examples

Run this code
data(iris)
shape <- c(1,1/2,1/3)
mhtree.EFV(iris[,1:3], shape = shape)

Run the code above in your browser using DataLab