Get KNN

get_knn(dat, ref.dat, k, method = "cor", dim = NULL)

Arguments

dat
ref.dat
k
method
dim