Description Usage Arguments Value Author(s) Examples
The MARSS fitting function, MARSS
, outputs marssMLE
objects. print(marssMLE)
, where marssMLE
is a marssMLE
object, will print out information on the fit. However, print
can be used to print a variety of information (residuals, smoothed states, imputed missing values, etc) from a marssMLE
object using the what
argument in the print call.
1 2 |
x |
A marssMLE object. |
digits |
Number of digits for printing. |
... |
Other arguments for print. |
what |
What to print. Default is "fit". If you input what as a vector, print returns a list. See examples.
|
form |
By default, print uses the model form specified in the call to |
silent |
If TRUE, do not print just return the object. If print call is assigned, nothing will be printed. See examples. If |
A print out of information. If you assign the print call to a value, then you can reference the output. See the examples.
Eli Holmes, NOAA, Seattle, USA.
eli(dot)holmes(at)noaa(dot)gov
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
dat = t(harborSeal)
dat = dat[c(2,11),]
MLEobj = MARSS(dat)
print(MLEobj)
print(MLEobj,what="model")
print(MLEobj,what="par")
#silent doesn't mean silent unless the print output is assigned
print(MLEobj,what="paramvector", silent=TRUE)
tmp=print(MLEobj,what="paramvector", silent=TRUE)
#silent means some info on what you are printing is shown whether
#or not the print output is assigned
print(MLEobj,what="paramvector", silent=FALSE)
tmp=print(MLEobj,what="paramvector", silent=FALSE)
cis=print(MLEobj,what="states.cis")
cis$up95CI
vars=print(MLEobj, what=c("R","Q"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.