Compute the weighted coordinates of a spatial unit based on nearest neighbors used during PCoA

WeightedCoordsNN(NN, knn, BetaDiversity0)

Arguments

NN

list. coordinates and ID of nearest neighbors from BetaDiversity0 matrix

knn

number of neighbors

BetaDiversity0

PCoA coordinates of reference samples

Value

estimated NMDS position based on nearest neighbors from NMDS