neibo: Finding in random manner one of the k closets points in a...

View source: R/RcppExports.R

neiboR Documentation

Finding in random manner one of the k closets points in a certain vector for each value in a second vector

Description

this function using pre-sorting of a y and the binary search the one of the k closest value for each miss is returned.

Usage

neibo(y, miss, k)

Arguments

y

numeric vector values to be look up

miss

numeric vector a values to be look for

k

integer a number of values which should be taken into account during sampling one of the k closest point

Value

a numeric vector


miceFast documentation built on Nov. 18, 2022, 1:07 a.m.