find_algorithm | R Documentation |
find_algorithm()
returns a function to assign k-means cluster.
kmean_assignment_r()
wraps around kmeans()
to pull the correct
assignments.
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)
algorithm |
the kmeans algorithm to use |
a kmeans function
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.