logLik.Mclust | R Documentation |
Mclust
objectReturns the log-likelihood for a 'Mclust'
object.
## S3 method for class 'Mclust'
logLik(object, ...)
object |
an object of class |
... |
further arguments passed to or from other methods. |
Returns an object of class 'logLik'
with an element providing the maximized log-likelihood, and further arguments giving the number of (estimated) parameters in the model ("df"
) and the sample size ("nobs"
).
Luca Scrucca
Mclust
.
irisMclust <- Mclust(iris[,1:4])
summary(irisMclust)
logLik(irisMclust)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.