centers.hclust {rattle} | R Documentation |
Generate a matrix of centers from a hierarchical cluster.
centers.hclust(x, h, nclust=10, use.median=FALSE)
x |
The data used to build the cluster. |
h |
|
nclust |
|
use.median |
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.
Daniele Medri and Graham.Williams@togaware.com
Package home page: http://rattle.togaware.com