tidy.marssMLE | R Documentation |
tidy.marssMLE
is the method for the tidy generic. It returns the parameter estimates and their confidence intervals.
## S3 method for class 'marssMLE'
tidy(x, conf.int = TRUE, conf.level = 0.95, ...)
x |
a |
conf.int |
Whether to compute confidence and prediction intervals on the estimates. |
conf.level |
Confidence level. |
... |
Optional arguments. If |
tidy.marssMLE()
assembles information available via the print()
and coef()
functions into a data frame that summarizes the estimates. If conf.int=TRUE
, MARSSparamCIs()
will be run to add confidence intervals to the model object if these are not already added. The default CIs are calculated using a analytically computed Hessian matrix. This can be changed by passing in optional arguments for MARSSparamCIs()
.
A data frame with estimates, sample standard errors, and confidence intervals.
dat <- t(harborSeal)
dat <- dat[c(2, 11, 12), ]
fit <- MARSS(dat)
# A data frame of the estimated parameters
tidy(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.