Calculate lag10 autocorrelation

Description

A wrapper for the function acf that returns the autocorrelation for the specified lag. Missing values are removed.

Usage

1
acf2(x, lag = 10, ...)

Arguments

x

numeric vector

lag

integer

...

additional arguments to acf

See Also

acf

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.