genMBTree {poweRbal} | R Documentation |
genMBTree
- Generates the rooted binary maximally balanced tree in
phylo
format with the given number of n
leaves.
genMBTree(n)
n |
Integer value that specifies the desired number of leaves, i.e.,
vertices with in-degree 1 and out-degree 0. |
genMBTree
A single tree of class phylo
is returned.
S. J. Kersting, K. Wicke, and M. Fischer. Tree balance in phylogenetic models. arXiv:2406.05185, 2024.
S. J. Kersting, K. Wicke, and M. Fischer. Tree balance in phylogenetic models: Supplementary material. https://tinyurl.com/278cwdh8, 2024.
genMBTree(n = 6)