getDstat {fasano.franceschini.test} | R Documentation |
Loop through each row as(i.e. data point) and defines D stat as the largest difference between the quadfrequencies, looping though each point in the sample as the origin
getDstat(originSamples, S1, S2, cores = 1)
originSamples |
a |
S1 |
a |
S2 |
a |
cores |
a |
Code adapted from Press, W. H., Teukolsky, S. A., Vetterling, W. T.,, Flannery, B. P. (2007). Numerical Recipes 3rd Edition: The Art of Scientific Computing. Cambridge University Press. ISBN: 0521880688
a numeric
defining the D stat with the largest difference between the quad frequencies, after checking each point as the origin