centers.hclust {rattle}
List Cluster Centers for a Hierarchical Cluster
Package:
rattle
Version:
3.0.2
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
Author(s)
Daniele Medri and Graham.Williams@togaware.com
Documentation reproduced from package rattle, version 3.0.2. License: GPL (>= 2)