RandomMorphyTree: Random postorder tree

RandomMorphyTreeR Documentation

Random postorder tree

Description

Random postorder tree

Usage

RandomMorphyTree(nTip)

Arguments

nTip

Integer specifying the number of tips to include in the tree (minimum 2).

Value

A list with three elements, each a vector of integers, respectively containing:

  • The parent of each tip and node, in order

  • The left child of each node

  • The right child of each node.

See Also

Other tree generation functions: AdditionTree()


TreeSearch documentation built on Aug. 26, 2023, 9:06 a.m.