Learn R Programming

MARSS (version 3.10.12)

logLik.marssMLE: logLik method for MARSS MLE objects

Description

Returns a logLik class object with attributes nobs and df.

Usage

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

Arguments

object

A marssMLE object.

...

Other arguments. Not used.

Value

An object of class logLik.

See Also

MARSSkf

Examples

Run this code
# NOT RUN {
dat <- t(harborSeal)
dat <- dat[c(2, 11, 12), ]
MLEobj <- MARSS(dat, model = list(Z = factor(c("WA", "OR", "OR"))))
logLik(MLEobj)

  
# }

Run the code above in your browser using DataLab