getClosePoints: Find close points

Description Usage Arguments Value Author(s)

View source: R/getMaxNumOpt.R

Description

Obtain points close in one specific dimension

Usage

1
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


profExtrema documentation built on March 22, 2020, 1:07 a.m.