powered by
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, ... )
ggplot
A fitted time-series model
The maximum number of lags for a Portmanteau goodness-of-fit test
Logical flag indicating whether to plot confidence intervals
line colour for confidence intervals
line type for confidence intervals
fill colour for confidence intervals
alpha for confidence intervals
Line colour for additional lines
Line type for additional lines
Fill colour for additional lines
Number of facet/subplot rows
Number of facet/subplot columns
other keywords
if (FALSE) { ggtsdiag(arima(AirPassengers)) }
Run the code above in your browser using DataLab