computes nearest neighbors of a SSD subset with samples used for the adjustment of the ordination, then gets the coordinates of each window in the ordination space

ordination_to_NN_list(
  SSD_subset,
  Sample_Sel,
  Beta_Ordination_sel,
  nb_partitions,
  nbclusters,
  pcelim,
  p = NULL
)

Arguments

SSD_subset

numeric. subset of spectral species distribution file

Sample_Sel

numeric. Samples selected during ordination

Beta_Ordination_sel

numeric. ordination of dissimilarity matrix for a selection of spatial units

nb_partitions

numeric. Number of partitions (repetitions) to be computed then averaged.

nbclusters

numeric. Number of clusters defined in k-Means.

pcelim

numeric. Minimum contribution in percents required for a spectral species

p

function.

Value

OutPut list of mean and SD of alpha diversity metrics