logLik_marssMLE: logLik method for MARSS MLE objects

logLik.marssMLER Documentation

logLik method for MARSS MLE objects

Description

Returns a logLik class object with attributes nobs and df.

Usage

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

Arguments

object

A marssMLE object.

...

Other arguments. Not used.

Value

An object of class logLik.

Author(s)

Eli Holmes, NOAA, Seattle, USA.

See Also

MARSSkf()

Examples

dat <- t(harborSeal)
dat <- dat[c(2, 11, 12), ]
MLEobj <- MARSS(dat, model = list(Z = factor(c("WA", "OR", "OR"))))
logLik(MLEobj)

  

MARSS documentation built on May 31, 2023, 9:28 p.m.