Functions to plot the results of a model fit using
mbsts
.
# S3 method for mbsts
plot(x, y = c("means", "help"), ...)PlotMbstsSeriesMeans(mbsts.object,
series.id = NULL,
same.scale = TRUE,
burn = SuggestBurn(.1, mbsts.object),
time,
show.actuals = TRUE,
ylim = NULL,
gap = 0,
...)
An object of class mbsts
.
A character string indicating the aspect of the model that should be plotted.
An object of class mbsts
.
Indicates which series should be plotted. An integer, logical, or character vector.
Logical. If TRUE
then all the series or
state components will be plotted with the same scale on the vertical
axis. If FALSE
then each plot will get its own scale for the
vertical axis.
The number of MCMC iterations to discard as burn-in.
An optional vector of values to plot against. If missing, the default is to diagnose the time scale of the original time series.
Logical. If TRUE
then actual values from
the fitted series will be shown on the plot.
Limits for the vertical axis. If NULL
these will
be inferred from the state components and the same.scale
argument. Otherwise all plots will be created with the same
ylim
values.
The number of lines to leave between plots. This need not be an integer.
Additional arguments passed to
PlotDynamicDistribution
.