File: logLik.Mclust.Rd

package info (click to toggle)
r-cran-mclust 6.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,540 kB
  • sloc: fortran: 13,298; ansic: 201; sh: 4; makefile: 2
file content (38 lines) | stat: -rw-r--r-- 845 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
\name{logLik.Mclust}
\alias{logLik.Mclust}

\title{Log-Likelihood of a \code{Mclust} object}

\description{
Returns the log-likelihood for a \code{'Mclust'} object.}

\usage{
  \method{logLik}{Mclust}(object, \dots)
}

\arguments{
  
  \item{object}{an object of class \code{'Mclust'} resulting from a call to \code{\link{Mclust}}.}

  \item{\dots}{further arguments passed to or from other methods.}
}

% \details{}

\value{Returns an object of class \code{'logLik'} with an element providing the maximized log-likelihood, and further arguments giving the number of (estimated) parameters in the model (\code{"df"}) and the sample size (\code{"nobs"}).}

\author{Luca Scrucca}

% \note{}

\seealso{\code{\link{Mclust}}.}

\examples{
\donttest{
irisMclust <- Mclust(iris[,1:4])
summary(irisMclust)
logLik(irisMclust)
}
}

\keyword{multivariate}