coef.marssMLE | R Documentation |
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)
.
## S3 method for class 'marssMLE'
coef(object, ..., type = "list", form = NULL, what = "par")
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, |
A list of the estimated parameters for each model matrix.
Eli Holmes, NOAA, Seattle, USA.
tidy()
, print()
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.