getDstat: Get KS Stat

Description Usage Arguments Details Value

View source: R/interal_functions_FasFran.R

Description

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

Usage

1
getDstat(originSamples, S1, S2, cores = 1)

Arguments

originSamples

a [n by 2] data.frame of x and y coordinates that defines the origins data points.

S1

a [n by 2] data.frame of x and y coordinates of sample 1

S2

a [n by 2] data.frame of x and y coordinates of sample 2

cores

a numeric defining the number of cores to use of processing

Details

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

Value

a numeric defining the D stat with the largest difference between the quad frequencies, after checking each point as the origin


fasano.franceschini.test documentation built on Sept. 5, 2021, 6:02 p.m.