coef.dynamitefit | R Documentation |
Extracts either time-varying or time-invariant parameters of the model.
## S3 method for class 'dynamitefit'
coef(
object,
types = c("alpha", "beta", "delta"),
parameters = NULL,
responses = NULL,
times = NULL,
groups = NULL,
summary = TRUE,
probs = c(0.05, 0.95),
...
)
object |
[ |
types |
[ |
parameters |
[ |
responses |
[ |
times |
[ |
groups |
[ |
summary |
[ |
probs |
[ |
... |
Ignored. |
A tibble
containing either samples or summary statistics of the
model parameters in a long format.
Model outputs
as.data.frame.dynamitefit()
,
as.data.table.dynamitefit()
,
as_draws_df.dynamitefit()
,
confint.dynamitefit()
,
dynamite()
,
get_code()
,
get_data()
,
get_parameter_dims()
,
get_parameter_names()
,
get_parameter_types()
,
ndraws.dynamitefit()
,
nobs.dynamitefit()
data.table::setDTthreads(1) # For CRAN
betas <- coef(gaussian_example_fit, type = "beta")
deltas <- coef(gaussian_example_fit, type = "delta")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.