getClosePoints: Find close points
Description
Obtain points close in one specific dimension
Usage
getClosePoints(x, allPts, whichDim)
Arguments
allPts
dataframe containing a list of d dimensional points
whichDim
integer defining the dimension of x
Value
the index in allPts (row number) of the closest point in allPts to x along the whichDim dimension