Rdocumentation
powered by
Learn R Programming
svs (version 1.0.2)
centers_ca: Compute Coordinates for Cluster Centers
Description
A helper function for computing the coordinates of cluster centers (typically used in correspondence analysis).
Usage
centers_ca(x, clusters, freq)
Arguments
x
A numeric matrix.
clusters
A clustering of the row levels of
x
: either a list or the output of
kmeans
.
freq
An optional vector of frequency counts for the row levels of
x
.
Value
A matrix containing the coordinates of the cluster centers.