autoplot.varstan {bayesforecast} | R Documentation |
autoplot methods for varstan models.
Description
Preliminary autoplot methods for varstan models only valid for univariate time series models. The function prints the fitted values time series, the trace and density plots for the sampled model parameters, or the residuals' posterior mean time series.
Usage
## S3 method for class 'varstan'
autoplot(object, prob = 0.95, ...)
Arguments
object |
An object of class |
prob |
A number |
... |
Further arguments passed to |
Value
None. Function produces a ggplot2 graph.
Examples
library(astsa)
sf1 = auto.sarima(ts = birth,iter = 500,chains = 1)
# fitted model
autoplot(sf1)
[Package bayesforecast version 1.0.1 Index]