print.marssMODEL {MARSS} | R Documentation |
Printing marssMODEL Objects
Description
print(MODELobj)
, where MODELobj
is a marssMODEL
object, will print out information on the model in short form (e.g. 'diagonal and equal').
summary(marssMODEL)
, where marssMODEL
is a marssMODEL object, will print out detailed information on each parameter matrix showing where the estimated values (and their names) occur.
Usage
## S3 method for class 'marssMODEL'
print(x, ...)
## S3 method for class 'marssMODEL'
summary(object, ..., silent = FALSE)
Arguments
x |
A marssMODEL object. |
object |
A marssMODEL object. |
... |
Other arguments . |
silent |
TRUE/FALSE Whether to print output. |
Value
print(marssMODEL)
prints out of the structure of each parameter matrix in 'English' (e.g. 'diagonal and unequal') and returns invisibly the list. If you assign the print call to a value, then you can reference the output.
summary(marssMODEL)
prints out of the structure of each parameter matrix in as list matrices showing where each estimated value occurs in each matrix and returns invisibly the list. The output can be verbose, especially if parameter matrices are time-varying. Pass in silent=TRUE
and assign output (a list with each parameter matrix) to a variable. Then specific parameters can be looked at.
Author(s)
Eli Holmes, NOAA, Seattle, USA.
Examples
dat <- t(harborSeal)
dat <- dat[c(2, 11), ]
fit <- MARSS(dat)
print(fit$model)
# this is identical to
print(fit, what = "model")