quadCount {fasano.franceschini.test}R Documentation

Quad Count

Description

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.

Usage

quadCount(x_origin, y_origin, x, y)

Arguments

x_origin

a numeric defining the x coordinate of the origin defining the 4 quadrants

y_origin

a numeric defining the y coordinate of the origin defining the 4 quadrants

x

a vector of numeric x coordinates

y

a vector of numeric y coordinates

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 vector of frequencies of the number of points in each of the four quadrants defined by the origin point


[Package fasano.franceschini.test version 1.1.0 Index]