Plot Time-invariant Regression Coefficients of a Dynamite Model
Arguments
- x
[
dynamitefit
]
The model fit object- parameters
[
charecter()
]\ Parameter name(s) for which the plots should be drawn. Possible options can be found with functionget_parameter_names(types = "beta")
.- responses
[
character()
]
Response(s) for which the coefficients should be drawn. Possible options are elements ofunique(x$priors$response)
, and the default is this whole vector.- level
[
numeric(1)
]
Level for posterior intervals. Default is 0.05, leading to 90% intervals.- include_alpha
[
logical(1)
]
IfTRUE
(default), plots also the time-invariant alphas if such parameters exists in the model.
See also
Drawing plots
plot.dynamitefit()
,
plot.dynamiteformula()
,
plot_deltas()
,
plot_lambdas()
,
plot_nus()
,
plot_psis()
Examples
data.table::setDTthreads(1) # For CRAN
plot_betas(gaussian_example_fit, level = 0.1)