Description Usage Arguments Value Examples

clusters data into two clusters. This functionis uses the `kmeans`

function to cluster the data and exports the clustering results as well as the sum of square (SS) of clustering using the Euclidian distance.

1 | ```
clusters_km(x, k = 2)
``` |

`x` |
matrix of data (dim 1: samples (must be equal to dim 1 of X), dim 2: attributes (must be equal to dim 2 of X)) |

`k` |
number of clusters ( this version considers 2 clusters ) |

sum of square (SS) of clustring

1 2 3 4 5 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.