MAC_lags:
Internal function used by MAC_counter and MAC_perm
Description
Performs the lag-based correlation analysis
Usage
MAC_lags(data, max_lag_prop = 1/3, symmetric = F)
Arguments
data
Data being passed to the function
max_lag_prop
The largest proportion of your experiments that you want the size of the lag to be. Recommended not to go beyond 1/3. Default value is 1/3.
symmetric
Logical. TRUE indicates that a symmetric matrix is required for output MAC .csv file. Results in the absolute maximum value for each pair (i,j) and (j,i). Default value is FALSE.