Learn R Programming

erhcv (version 0.1.4)

tree2plot: Plot of a tree structure

Description

Provide the plot or the data.tree object for a given tree structure.

Usage

tree2plot(tree, structure = FALSE)

Arguments

tree

the tree under consideration (of the form provided by the function hclust2tree)

structure

logical. Should the data.tree structure be returned rather than the plot?

Value

a plot or data.tree object