get_kmeans | R Documentation |
computes k-means from nbIter subsets taken from dataPCA
get_kmeans(
rast_sample,
nbIter,
nbclusters = 50,
nbCPU = 1,
algorithm = "Hartigan-Wong",
progressbar = TRUE
)
rast_sample |
numeric. initial dataset sampled from PCA image |
nbIter |
numeric. nb of iterations averaged to compute diversity indices |
nbclusters |
numeric. number of clusters used in kmeans |
nbCPU |
numeric. Number of CPUs available |
algorithm |
character. algorithm used in the kmeans clustering |
progressbar |
boolean. set true for progress bar during clustering |
list of centroids and parameters needed to center/reduce data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.