R: Plot time series against lagged versions of themselves

gglagplot {ggfortify} | R Documentation

## Plot time series against lagged versions of themselves

### Description

Plot time series against lagged versions of themselves

### Usage

    gglagplot(ts, lags = 1, nrow = NULL, ncol = NULL)

### Arguments

`ts` | `stats::ts` instance
`lags` | Number of lag plots desired
`nrow` | Number of plot rows
`ncol` | Number of plot columns

### Value

ggplot

### Examples

    gglagplot(AirPassengers)

[Package ggfortify version 0.4.1 Index]