kmeans+++. You can specify some centers meaningly and others randomly based on the method of kmeans++.
1 2 |
x |
input data |
k |
number of clusters |
centers_manual |
partial or all selection of initial centers |
scale |
TRUE or FALSE to scale x |
iter.max |
the maximum number of iterations allowed. |
nstart |
if centers is a number, how many random sets should be chosen? |
algorithm |
default to Lloyd |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.