logLik.HMM: logLik function for SDE objects

View source: R/logLik.R

logLik.HMMR Documentation

logLik function for SDE objects

Description

This function makes it possible to call generic R methods such as AIC and BIC on HMM objects. It is based on the number of degrees of freedom of the *conditional* AIC (rather than marginal AIC), i.e., including degrees of freedom from the smooth/random effect components of the model.

Usage

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

Arguments

object

HMM model object

...

For compatibility with S3 method

Value

Maximum log-likelihood value for the model, with attributes df (degrees of freedom) and nobs (number of observations)


TheoMichelot/hmmTMB documentation built on Dec. 13, 2024, 11:52 a.m.