find_algorithm {partition} | R Documentation |
Which kmeans algorithm to use?
Description
find_algorithm()
returns a function to assign k-means cluster.
kmean_assignment_r()
wraps around kmeans()
to pull the correct
assignments.
Usage
find_algorithm(algorithm, seed)
kmean_assignment_c(.data, k, n_iter = 10L, verbose = FALSE, seed = 1L)
kmean_assignment_r(.data, k, algorithm = "Hartigan-Wong", seed = 1L)
Arguments
algorithm |
the kmeans algorithm to use |
Value
a kmeans function
[Package partition version 0.2.1 Index]