See details of lsh and knn.
method_mlpack(x, y, algo = c("lsh", "kd"), k, verbose, seed, path, control)deduplication or reference data,
query data,
which algorithm should be used: lsh or kd,
number of neighbours to return,
if TRUE, log messages to the console,
seed for the pseudo-random numbers algorithm,
path to write the index,
controls for the lsh or kd algorithms.
Maciej Beręsewicz