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.

centers

numeric.

iter.max

numeric.

nstart

numeric.

algorithm

character. algorithm used in the kmeans clustering

p

function.

Value

results of kmeans