centers.hclust | R Documentation |
Generate a matrix of centers from a hierarchical cluster.
centers.hclust(x, object, nclust=10, use.median=FALSE)
x |
The data used to build the cluster. |
object |
A hclust object. |
nclust |
Number of clusters. |
use.median |
Use meadion instead of mean. |
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: https://rattle.togaware.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.