as.dendro function

Coerces object to class dendro.

Coerces object to class dendro.

Method for coercing object to class dendro.

as.dendro(segments, labels, leaf_labels = NULL, class)

Arguments

  • segments: data.frame with segment data
  • labels: data.frame with labels data
  • leaf_labels: data.frame with leaf label data
  • class: The class of the original model object, e.g. "hclust". This is used by ggdendrogram() to determine the angle and justification of labels

See Also

dendro_data() and ggdendro-package()

  • Maintainer: Andrie de Vries
  • License: GPL-2 | GPL-3
  • Last published: 2024-02-23