correlationSlope: Measure correlation decay by slope at correlation length

Description Usage Arguments

View source: R/correlationCalculationFunctions.R

Description

This function takes in two vectors that define the correlation profile of any collective system and measures the slope at the zero-intercept (correlation length) by using the 5-point stencil method on the five data points closest to the x-intercept of the correlation profile. Based off of advice from http://www.theanalysisfactor.com/r-tutorial-4/

Usage

1
correlationSlope(distances, correlations)

Arguments

distances

A vector representing distance measures

correlations

A vector of the corresponding average pair-wise correlation at that distance.


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