logLik.marssMLE {MARSS}R 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)

  

[Package MARSS version 3.11.9 Index]