en:non-hier_r
Section: Numerical classification
K-means (non-hierarchical classification)
R functions
kmeans
- performs K-means clustering on raw data matrix (samples x species). The function is a bit not well documented, so the use requires attention. The first argument,x
, should be matrix (or data frame) of species composition, with samples in rows and species in columns. Argumentcenters
could be either integer (number of clusters) or a vector with cluster centres.
en/non-hier_r.txt · Last modified: 2021/03/03 19:56 by David Zelený