acvf: Autocovariance of data

Description Usage Arguments Value See Also Examples

View source: R/itsmr.R

Description

Autocovariance of data

Usage

1
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

1

Example output

 [1] 1382.185100 1114.378351  591.720802   96.215453 -234.174496 -367.871445
 [7] -292.663494  -60.382543  226.197508  456.801559  566.622610  544.663061
[13]  398.322712  197.725763   27.282614  -75.723535 -141.049284 -200.168933
[19] -244.663382 -231.624131 -144.017180  -25.751629   57.480422   67.075573
[25]   -4.794976 -138.365925 -251.615374 -319.918523 -346.223772 -333.796721
[31] -286.499970 -207.284219 -128.664368 -108.606717 -134.676466 -185.614215
[37] -232.526964 -256.646413 -254.227262 -249.850711 -235.056060

itsmr documentation built on Nov. 17, 2017, 7:27 a.m.