Learn R Programming

itsmr (version 1.1)

acvf: Autocovariance of data

Description

Autocovariance of data

Usage

acvf(x, h = 40)

Arguments

x
Data vector
h
Maximum lag

Value

  • Returns a vector of length h+1 to accomodate lag 0 at index 1.

See Also

plota

Examples

Run this code
acvf(Sunspots)

Run the code above in your browser using DataLab