genCombTree {poweRbal} | R Documentation |
Generation of the comb or caterpillar tree
Description
genCombTree
- Generates the rooted binary comb tree (also known as
caterpillar tree) in phylo
format with the given number of n
leaves.
Usage
genCombTree(n)
Arguments
n |
Integer value that specifies the desired number of leaves, i.e.,
vertices with in-degree 1 and out-degree 0. |
Value
genCombTree
A single tree of class phylo
is returned.
References
D. Aldous. Probability Distributions on Cladograms. In Random Discrete Structures, pages 1–18. Springer New York, 1996.
Examples
genCombTree(n = 6)
[Package poweRbal version 0.0.1.1 Index]