quadCount: Quad Count

Description Usage Arguments Details Value

View source: R/interal_functions_FasFran.R

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

1
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


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