coef.marssMLE {MARSS} | R Documentation |
Coefficient function for MARSS MLE objects
Description
MARSS()
outputs marssMLE
objects. coef(object)
, where object
is the output from a MARSS()
call, will print out the estimated parameters. The default output is a list with values for each parameter, however the output can be altered using the type
argument to output a vector of all the estimated values (type="vector"
) or a list with the full parameter matrix with the estimated and fixed elements (type="matrix"
). For a summary of the parameter estimates with CIs from the estimated Hessian, use try tidy(object)
.
Usage
## S3 method for class 'marssMLE'
coef(object, ..., type = "list", form = NULL, what = "par")
Arguments
object |
A |
... |
Other arguments. Not used. |
type |
What to output. Default is "list". Options are
|
form |
This argument can be ignored. By default, the model form specified in the call to |
what |
By default, |
Value
A list of the estimated parameters for each model matrix.
Author(s)
Eli Holmes, NOAA, Seattle, USA.
See Also
Examples
dat <- t(harborSeal)
dat <- dat[c(2, 11), ]
fit <- MARSS(dat)
coef(fit)
coef(fit, type = "vector")
coef(fit, type = "matrix")
# to retrieve just the Q matrix
coef(fit, type = "matrix")$Q