Random postorder tree

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()