Description Usage Arguments Value
Given an data matrix x, samples are clustered into a given number of groups.
1 | k_means(x, centers = 5)
|
x |
numeric matrix of data, where rows are samples |
centers |
the number of groups |
vector of integers indicating the group allocations
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.