R/WeightedCoordsNN.R
WeightedCoordsNN.Rd
Compute the weighted coordinates of a spatial unit based on nearest neighbors used during PCoA
WeightedCoordsNN(NN, knn, PCoA_train)
list. coordinates and ID of nearest neighbors from PCoA_train matrix
number of neighbors
PCoA coordinates of reference samples
estimated NMDS position based on nearest neighbors from NMDS