applies results of ordination to full image based on nearest neighbors

kmeans_progressr(
  x,
  centers,
  iter.max,
  nstart,
  algorithm = "Hartigan-Wong",
  p = NULL
)

Arguments

x

numeric. subset of spectral species distribution file

centers

numeric. Samples selected during ordination

iter.max

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

nstart

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

algorithm

character. Name of teh algorithm

p

function.

Value

results of kmeans