logLik.rtsFit {rts2}R Documentation

Extracts the log-likelihood from an rtsFit object

Description

Extracts the final log-likelihood value from an rtsFit object. Only returns a value for maximum likelihood model fits, otherwise it produces an error.

Usage

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

Arguments

object

An rtsFit model fit.

...

Further arguments passed from other methods

Value

An object of class logLik for maximum likelihood model fits, otherwise it returns an error.


[Package rts2 version 0.7.5 Index]