ggtsdiag: Plots time-series diagnostics

Description Usage Arguments Value Examples

View source: R/tslib.R

Description

Plots time-series diagnostics

Usage

1
2
3
4
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

1

Example output

Loading required package: ggplot2

ggfortify documentation built on May 26, 2018, 5:04 p.m.