R/RcppExports.R
nn_matrix.Rd
NN_mat = I - rowmins_mat, where each row has 1/k for the k nearest neighbors.
nn_matrix(s, latlong)
n x d matrix of locations
Whether coordinates are latitude/longitude
n x n NN transformation matrix