Learn R Programming

itsmr (version 1.9)

acvf: Autocovariance of data

Description

Autocovariance of data

Usage

acvf(x, h = 40)

Value

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

Arguments

x

Time series data

h

Maximum lag

See Also

plota

Examples

Run this code
acvf(Sunspots)

Run the code above in your browser using DataLab