calculateSusceptibility: Calculate Susceptibility (Maximum Cumulative Correlation)

Description Usage Arguments

View source: R/correlationCalculationFunctions.R

Description

Uses the method developed in Attanasi et al. 2014 to calculate the finite-size susceptibility or maximal cumulative correlation of a collectively moving system. The cumulative correlation is calculated using the trapezoidal (Simpson's) rule for numerical integration. This function filters the correlation profile to only consider values before the first zero-crossing if it detects any negative correlation values.

Usage

1
calculateSusceptibility(distance = 1:length(correlation), correlation)

Arguments

distance

The domain over which to integrate. If not provided, daata points are assumed to be evenly spaced with distance 1.

correlation

The correlation at the corresponding distance.


MirceaDavidEsc/scalefree documentation built on Nov. 9, 2020, 2:21 p.m.