quadCount {fasano.franceschini.test} | R Documentation |
Counts the frequency of points in the four quadrants - starting from the upper right going counter clockwise. Quadrants defined by the origin points x and y.
quadCount(x_origin, y_origin, x, y)
x_origin |
a |
y_origin |
a |
x |
a |
y |
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 vector
of frequencies of the number of points in each of the four quadrants defined by the origin point