R/weighted_coords_nn.R
weighted_coords_nn.Rd
Compute weighted coordinates of a spatial unit based on nearest neighbors used during PCoA
weighted_coords_nn(nn, knn, pcoa_train)
list. coordinates & 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