Learn R Programming

dse (version 2014.11-1)

acf: Calculate the acf for an object

Description

Calculate the acf for an object.

Usage

## S3 method for class 'TSdata':
acf(x, ...)
    ## S3 method for class 'TSestModel':
acf(x, ...)

Arguments

x
an object.
...
additional arguments passed to stats::acf.

Value

  • see stats::acf.

Details

The default method uses stats::acf. The method for TSdata extracts the output data and then uses acf. The method for TSestModel calculates the residuals (prediction minus data) and then uses acf.

See Also

stats::acf,