acf1(timeslab)R Documentation

Calculate Sample Autocorrelation Function

Description

Calculate Sample Autocorrelation Function

Usage

acf1(x,m=0)

Arguments

x A time series.
m The number of lags at which to find the autocovariance function.

Value

corr A vector containing the autocorrelations.
var A scalar containing the sample variance.

See Also

acf


[Package Contents]