Learn R Programming

fdm2id (version 0.9.1)

treeplot: Dendrogram Plots

Description

Draws a dendrogram.

Usage

treeplot(clustering, labels = FALSE, ...)

Arguments

clustering

The dendrogram to be plotted (result of hclust, agnes or HCA).

labels

Indicates whether or not labels (row names) should be showned on the plot.

...

Other parameters.

See Also

dendrogram, HCA, hclust, agnes

Examples

Run this code
# NOT RUN {
require (datasets)
data (iris)
hca = HCA (iris [, -5], method = "ward", k = 3)
treeplot (hca)
# }

Run the code above in your browser using DataLab