kmeans_table: K-means on correspondence analysis

Description Usage Arguments Value Examples

View source: R/clustering.R

Description

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.

Usage

1
kmeans_table(table, dimension = 1, k, ...)

Arguments

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.

Value

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.

Examples

1
2

aczepielik/CrossTabCluster documentation built on June 19, 2020, 7:53 p.m.