Automatically find cluster assignment given f and delta.

Find cluster assignments from given centers and distance matrix. Each point is assigned to the center that has the shortest Euclidean distance.

1 | ```
FindClustersGivenCenters(distm, centers)
``` |

`distm` |
distance matrix |

`centers` |
vector of integers that gives the indices of centers. Duplications will be silently dropped. |

Cluster assignments. A vector of the same length as the number of observations.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.

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.