ggtsdiag | R Documentation |
Plots time-series diagnostics
ggtsdiag(
object,
gof.lag = 10,
conf.int = TRUE,
conf.int.colour = "#0000FF",
conf.int.linetype = "dashed",
conf.int.fill = NULL,
conf.int.alpha = 0.3,
ad.colour = "#888888",
ad.linetype = "dashed",
ad.size = 0.2,
nrow = NULL,
ncol = 1,
...
)
object |
A fitted time-series model |
gof.lag |
The maximum number of lags for a Portmanteau goodness-of-fit test |
conf.int |
Logical flag indicating whether to plot confidence intervals |
conf.int.colour |
line colour for confidence intervals |
conf.int.linetype |
line type for confidence intervals |
conf.int.fill |
fill colour for confidence intervals |
conf.int.alpha |
alpha for confidence intervals |
ad.colour |
Line colour for additional lines |
ad.linetype |
Line type for additional lines |
ad.size |
Fill colour for additional lines |
nrow |
Number of facet/subplot rows |
ncol |
Number of facet/subplot columns |
... |
other keywords |
ggplot
## Not run:
ggtsdiag(arima(AirPassengers))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.