Learn R Programming

dse (version 2020.2-1)

acf: Calculate the acf for an object

Description

Calculate the acf for an object.

Usage



    # S3 method for TSdata
acf(x, ...)
    # S3 method for 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,