FindClustersGivenCenters: Find cluster assignments given centers and distance matrix

Description Usage Arguments Value

Description

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

Usage

1
FindClustersGivenCenters(distm, centers)

Arguments

distm

distance matrix

centers

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

Value

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



Search within the ADPclust package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? 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.