WeightedCoordsNN: Compute the weighted coordinates of a spatial unit based on...

View source: R/WeightedCoordsNN.R

WeightedCoordsNNR Documentation

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

Description

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

Usage

WeightedCoordsNN(NN, knn, PCoA_train)

Arguments

NN

list. coordinates and ID of nearest neighbors from PCoA_train matrix

knn

number of neighbors

PCoA_train

PCoA coordinates of reference samples

Value

estimated NMDS position based on nearest neighbors from NMDS


jbferet/biodivMapR documentation built on April 12, 2025, 1:32 p.m.