logLik.mlds: Compute Log-Likelihood for an mlds object

logLik.mldsR Documentation

Compute Log-Likelihood for an mlds object

Description

This function provides a method for extracting the log likelihood from an object of class ‘mlds’.

Usage

## S3 method for class 'mlds'
logLik(object, ...)
## S3 method for class 'mlbs'
logLik(object, ...)

Arguments

object

an object of class ‘mlds’ or ‘mlbs’typically from a call to mlds

...

for passing additional parameters, but is currently not used.

Value

An object of class ‘logLik’ whose value is the logarithm of the likelihood with attribute df providing the degrees of freedom

Author(s)

Kenneth Knoblauch

Examples

data(kk1)
logLik(mlds(SwapOrder(kk1)))

MLDS documentation built on Aug. 20, 2023, 9:06 a.m.