getClosePoints {profExtrema} | R Documentation |
Find close points
Description
Obtain points close in one specific dimension
Usage
getClosePoints(x, allPts, whichDim)
Arguments
x |
one dimensional point |
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
Author(s)
Dario Azzimonti
[Package profExtrema version 0.2.1 Index]