getClosePoints {profExtrema} | R Documentation |
Obtain points close in one specific dimension
getClosePoints(x, allPts, whichDim)
x |
one dimensional point |
allPts |
dataframe containing a list of d dimensional points |
whichDim |
integer defining the dimension of x |
the index in allPts (row number) of the closest point in allPts to x along the whichDim dimension
Dario Azzimonti