User Tools

Site Tools


en:non-hier_r

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
en:non-hier_r [2019/03/22 21:58]
David Zelený
en:non-hier_r [2019/04/06 20:42] (current)
David Zelený
Line 6: Line 6:
 [[{|width: 7em; background-color:​ white; color: navy}non-hier_examples|Examples]] [[{|width: 7em; background-color:​ white; color: navy}non-hier_examples|Examples]]
 [[{|width: 7em; background-color:​ white; color: navy}non-hier_exercise|Exercise {{::​lock-icon.png?​nolink|}}]] [[{|width: 7em; background-color:​ white; color: navy}non-hier_exercise|Exercise {{::​lock-icon.png?​nolink|}}]]
 +
 +==== 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. Argument ''​centers''​ could be either integer (number of clusters) or a vector with cluster centres. ​
en/non-hier_r.txt · Last modified: 2019/04/06 20:42 by David Zelený