R/compute_NN_from_ordination.R
compute_NN_from_ordination.Rd
compute the nearest neighbors among kernels
compute_NN_from_ordination(MatBC, knn, PCoA_train)
matrix of BC dissimilarity between the kernels excluded from Ordination (rows)
numeric. number of neighbors
numeric. PCoA coordinates computed from dissimilarity matrix
Ordin_est estimated NMDS position based on nearest neighbors from NMDS