Learn R Programming

treeClust (version 1.1-7.1)

leaf.numbers: Convert "where" entry of tree frame into leaf numbers

Description

The "where" entry of a tree object denotes leaves by row numbers in the "frame" object. This converts those to actual leaf numbers.

Usage

leaf.numbers(tree)

Value

Vector, the same length as tree$where, giving leaf numbers.

Arguments

tree

Item of class "tree".

Author

Sam Buttrey