Description Usage Arguments Value Examples
Performs weighted k-means clustering on k-1 in fir k-1 principal coordinates (or all of them), obtained from correspondence analysis of contingency table.
1 | kmeans_table(table, dimension = 1, k, ...)
|
table |
object of class "table". |
dimension |
integer. Whether to use rows (1) or columns (2). Default is 1. |
k |
integer. number of clusters |
... |
arguments passed to kmeans. |
object of class k-means with additional information about clustewr membership of items classified in the contingecy table and about sum of squares in low-dimensional space used in clustering.
1 2 | kmeans_table(ksarakil, 1, 5)
kmeans_table(israeli_survey, 2, 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.