Plot Latent Factors of a Dynamite Model
Usage
plot_psis(
x,
responses = NULL,
level = 0.05,
alpha = 0.5,
scales = c("fixed", "free")
)
Arguments
- x
[
dynamitefit
]
The model fit object- 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.- alpha
[
numeric(1)
]
Opacity level forgeom_ribbon
. Default is 0.5.- scales
[
character(1)
] Should y-axis of the panels be"fixed"
(the default) or"free"
? Seeggplot2::facet_wrap()
.
See also
Drawing plots
plot.dynamitefit()
,
plot.dynamiteformula()
,
plot_betas()
,
plot_deltas()
,
plot_lambdas()
,
plot_nus()