draw.clust {maptree}R Documentation

Graph a Hierarchical Cluster Tree

Description

Graph a hierarchical cluster tree of class "twins" or "hclust" using shaded square symbols at observations.

Usage

  draw.clust (cluster, ps=par("ps"), size=10, col=NULL)

Arguments

cluster object of class "hclust" or "twins".
ps pointsize of text, par parameter.
size size in mm of shaded square symbol.
col vector of colors from hsv, rgb etc, or if NULL, then generated as equally spaced hues, or if "gray", then generated as gray tones.

Details

Styled like plot.hclust.

Value

The vector of colors supplied or generated.

Author(s)

Denis White, white.denis@epa.gov

See Also

draw.tree, map.groups

Examples

  library (mva)
  data (hex.spp)

  draw.clust (prune.clust (hclust (dist (hex.spp)), k=6))