Skip to main content

acf

Function acf 

Source
pub fn acf(data: &[f64], max_lag: usize) -> Vec<f64>
Expand description

Autocorrelation function (ACF) up to max_lag.

Returns a vector of length max_lag + 1 where index 0 is always 1.0.