treeplot: Dendrogram Plots

treeplotR Documentation

Dendrogram Plots

Description

Draws a dendrogram.

Usage

treeplot(
  clustering,
  labels = FALSE,
  k = NULL,
  split = TRUE,
  horiz = 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.

k

Number of clusters. If not specified an "optimal" value is determined.

split

Indicates wheather or not the clusters should be highlighted in the graphics.

horiz

Indicates if the dendrogram should be drawn horizontally or not.

...

Other parameters.

See Also

dendrogram, HCA, hclust, agnes

Examples

require (datasets)
data (iris)
hca = HCA (iris [, -5], method = "ward", k = 3)
treeplot (hca)

fdm2id documentation built on July 9, 2023, 6:05 p.m.

Related to treeplot in fdm2id...