auto_correlation_site: Compute an autocorrelation coefficient at a given site in the...

Description Usage Arguments Value Author(s)

View source: R/auto_correlation_site.R

Description

Given a site, determine if all possible combinations of the variables are autocorrelated to a maximum lag. This is a tidy version of the cross correlation matrix.

Usage

1
auto_correlation_site(in_data, max_lag)

Arguments

in_data

data frame of the site we are studying. The first column contains the time variable

max_lag

the maximum number of lags to be considered

Value

A data frame that reports the absolute value of the autocorrelation function and the variables associated with it

Author(s)

John Zobitz zobitz@augsburg.edu, based on code from rEMD pacakge vignette


jmzobitz/FLUXNETGranger documentation built on Dec. 21, 2021, 1:13 a.m.