Internal helper function to dispatch to various neighbor finding methods

NNHelper(data, query = data, k, method, ...)

Arguments

data

Input data

query

Data to query against data

k

Number of nearest neighbors to compute

method

"rann", "sklearn"

...

Other args pass nn2() or sknn().