model_frame_marssMODEL: model.frame method for marssMLE and marssMODEL objects

model.frame.marssMODELR Documentation

model.frame method for marssMLE and marssMODEL objects

Description

model.frame(M]LEobj) or model.frame(MODELobj), where MLEobj is a marssMLE object output by a MARSS() call and MODELobj is a marssMODEL object in the model element of a marssMLE object, will return a data frame with the data (y) and inputs/covariates (c and d elements) for a MARSS model in "marxss" form. See MARSS.marxss. This is mainly a utility function to help with the functions tidy(), and glance.

Usage

## S3 method for class 'marssMODEL'
model.frame(formula, ...)

Arguments

formula

A marssMODEL object.

...

Other arguments not used.

Value

A data frame with the data and inputs (c and d) in a MARSS model in "marxss" form. See MARSS.marxss.

Author(s)

Eli Holmes, NOAA, Seattle, USA.


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