Description Arguments Value Examples

k-means algorithm in clustering. This function export the clustered results based on one replication of the k-means method

`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)) |

`centers` |
initial seleted centroids (randomly or another method) |

`distFun` |
function (in this package the distance is Euclidian) |

`nItter` |
Number of itteration function |

clustered results based on k-means methods.

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.