Compute density estimation for multivariate observations based on Gaussian finite mixture models estimated by
# S3 method for densityMclust predict(object, newdata, what = c("dens", "cdens", "z"), logarithm = FALSE, ...)
an object of class
a vector, a data frame or matrix giving the data. If missing the density is computed for the input data obtained from the call to
a character string specifying what to retrieve:
A logical value indicating whether or not the logarithm of the density or component densities should be returned.
further arguments passed to or from other methods.
Returns a vector or a matrix of densities evaluated at
newdata depending on the argument
what (see above).