rattle (version 5.2.0)

centers.hclust: List Cluster Centers for a Hierarchical Cluster

Description

Generate a matrix of centers from a hierarchical cluster.

Usage

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

Arguments

x

The data used to build the cluster.

object

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: https://rattle.togaware.com