Learn R Programming

rattle (version 3.0.2)

centers.hclust: List Cluster Centers for a Hierarchical Cluster

Description

Generate a matrix of centers from a hierarchical cluster.

Usage

centers.hclust(x, h, nclust=10, use.median=FALSE)

Arguments

x
The data used to build the cluster.
h
A hclust object.
nclust
Number of clusters.
use.median
Use meadion instead of mean.

Details

For the specified number of clusters, cut the hierarchical cluster appropriately to that number of clusters, and return the mean (or median) of each resulting cluster.

References

Package home page: http://rattle.togaware.com