plot.hierarchical_cluster: Plots a hierarchical_cluster Object

Description Usage Arguments

Description

Plots a hierarchical_cluster object

Usage

1
2
3
## S3 method for class 'hierarchical_cluster'
plot(x, k = approx_k(get_dtm(x)), h = NULL,
  color = "red", digits = 3, ...)

Arguments

x

A hierarchical_cluster object.

k

The number of clusters (can supply h instead). Defaults to use approx_k of the DocumentTermMatrix produced by data_storage. Boxes are drawn around the clusters.

h

The height at which to cut the dendrograms (determines number of clusters). If this argument is supplied k is ignored. A line is drawn showing the cut point on the dendrogram. If h is set to TRUE or "locator" then the cutting becomes interactive and the height is returned invisibly.

color

The color to make the cluster boxes (k) or line (h).

digits

The number o digits to display if hh is set to interactive.

...

Other arguments passed to rect.hclust or abline.


trinker/clustext documentation built on May 31, 2019, 8:41 p.m.