| randTree {treeman} | R Documentation |
Returns a random TreeMan tree with n
tips.
randTree(n, wndmtrx = FALSE, parallel = FALSE)
n |
number of tips, integer, must be 3 or greater |
wndmtrx |
T/F add node matrix? Default FALSE. |
parallel |
T/F run in parallel? Default FALSE. |
Equivalent to ape's rtree() but returns a
TreeMan tree. Tree is always rooted and bifurcating.
TreeMan-class, blncdTree,
unblncdTree
library(treeman) tree <- randTree(5)