plot.mbsts | R Documentation |
Functions to plot the results of a model fit using
mbsts
.
## S3 method for class '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, cex.actuals = 0.2, ...)
x |
An object of class |
y |
A character string indicating the aspect of the model that should be plotted. |
mbsts.object |
An object of class |
series.id |
Indicates which series should be plotted. An integer, logical, or character vector. |
same.scale |
Logical. If |
burn |
The number of MCMC iterations to discard as burn-in. |
time |
An optional vector of values to plot against. If missing, the default is to diagnose the time scale of the original time series. |
show.actuals |
Logical. If |
ylim |
Limits for the vertical axis. If |
gap |
The number of lines to leave between plots. This need not be an integer. |
cex.actuals |
Scale factor to use for plotting the raw data. |
... |
Additional arguments passed to
|
plot.bsts
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.