Learn R Programming

msm (version 0.5.2)

logLik.msm: Extract model log-likelihood

Description

Extract the log-likelihood and the number of parameters of a model fitted with msm.

Usage

## S3 method for class 'msm':
logLik(object, \dots)

Arguments

object
A fitted multi-state model object, as returned by msm.
...
(unused) further arguments passed to or from other methods.

Value

  • The log-likelihood of the model represented by 'object' evaluated at the maximum likelihood estimates.

See Also

msm