predict.MclustBounded {mclustAddons} | R Documentation |
Model-based clustering estimation for bounded data
Description
Predict clustering for univariate and multivariate bounded data based on
Gaussian finite mixture models estimated by MclustBounded()
.
Usage
## S3 method for class 'MclustBounded'
predict(object, newdata, ...)
Arguments
object |
An object of class |
newdata |
A numeric vector, matrix, or data frame of observations. If
missing the density is computed for the input data obtained from the call to
|
... |
Further arguments passed to or from other methods. |
Value
Returns a list of with the following components:
-
classification
A factor of predicted cluster labels for newdata. -
z
A matrix whose[i,k]
th entry is the probability thati
th observation innewdata
belongs to thek
th cluster.
Author(s)
Luca Scrucca
References
Scrucca L. (2019) A transformation-based approach to Gaussian mixture density estimation for bounded data. Biometrical Journal, 61:4, 873–888. doi:10.1002/bimj.201800174
See Also
MclustBounded()
, plot.MclustBounded()
.