| logLik.MclustDA | R Documentation |
MclustDA objectReturns the log-likelihood for a MclustDA object.
## S3 method for class 'MclustDA'
logLik(object, data, ...)
object |
an object of class |
data |
the data for which the log-likelihood must be computed. If missing, the observed data from the |
... |
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
MclustDA.
irisMclustDA <- MclustDA(iris[,1:4], iris$Species)
summary(irisMclustDA)
logLik(irisMclustDA)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.