ggtsdiag: Plots time-series diagnostics

View source: R/tslib.R

ggtsdiagR Documentation

Plots time-series diagnostics

Description

Plots time-series diagnostics

Usage

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,
  ...
)

Arguments

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

Value

ggplot

Examples

## Not run: 
ggtsdiag(arima(AirPassengers))

## End(Not run)

sinhrks/ggfortify documentation built on March 30, 2024, 1:55 a.m.