hypvol {mclust} | R Documentation |
Computes a simple approximation to the hypervolume of a multivariate data set.
hypvol(data, reciprocal=FALSE)
data |
A numeric vector, matrix, or data frame of observations. Categorical variables are not allowed. If a matrix or data frame, rows correspond to observations and columns correspond to variables. |
reciprocal |
A logical variable indicating whether or not the reciprocal hypervolume is desired rather than the hypervolume itself. The default is to return the approximate hypervolume. |
Computes the hypervolume by two methods: simple variable bounds and principal components, and returns the minimum value.
C. Fraley and A. E. Raftery (2002a). Model-based clustering, discriminant analysis, and density estimation. Journal of the American Statistical Association 97:611:631. See http://www.stat.washington.edu/mclust.
data(iris) irisMatrix <- as.matrix(iris[,1:4]) hypvol(irisMatrix)