tmGFB: Generation of the greedy from the bottom tree

genGFBTreeR Documentation

Generation of the greedy from the bottom tree

Description

genGFBTree - Generates the rooted binary greedy from the bottom tree in phylo format with the given number of n leaves.

Usage

genGFBTree(n)

Arguments

n

Integer value that specifies the desired number of leaves, i.e., vertices with in-degree 1 and out-degree 0.
Due to the restrictions of the phylo or multiphylo format, the number of leaves must be at least 2 since there must be at least one edge.

Value

genGFBTree A single tree of class phylo is returned.

References

  • 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.

Examples

genGFBTree(n = 6)

poweRbal documentation built on Sept. 11, 2024, 5:30 p.m.

Related to tmGFB in poweRbal...