Learn R Programming

SLBDD (version 0.0.4)

scatterACF: Scatterplot of Two Selected-lag Autocorrelation Functions

Description

Scatterplot of two selected-lag ACFs.

Usage

scatterACF(x, lags = c(1, 2))

Arguments

x

T by k data matrix: T data points in rows with each row being data at a given time point, and k time series in columns.

lags

Set of lags. Default values are 1, 2.

Value

A list containing:

  • acf1 - Autocorrelation function of order lags[1].

  • acf2 - Autocorrelation function of order lags[2].

Examples

Run this code
# NOT RUN {
data(TaiwanAirBox032017)
output <- scatterACF(TaiwanAirBox032017[,1:100])
# }

Run the code above in your browser using DataLab