| plot_fitted | R Documentation |
Observed series with the posterior median fitted mean and a credible band on
the response scale. For the multinomial family, one panel per category
showing the observed and expected counts N_t p_{t,k}.
plot_fitted(object, level = 0.95, category = NULL, ...)
object |
A |
level |
Credible level. Default |
category |
Multinomial family only: which categories to draw (names
or indices among the non-baseline categories for |
... |
Passed to |
Invisibly, the fitted summary.
sim <- simulate_dynamic_poisson(60, 0.2, 2, seed = 1)
fit <- fit_dynamic_model(sim$y, nsave = 300, nburn = 200, seed = 1)
plot_fitted(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.