powered by
Returns a random TreeMan tree with n tips.
TreeMan
n
randTree(n, wndmtrx = FALSE, parallel = FALSE)
number of tips, integer, must be 3 or greater
T/F add node matrix? Default FALSE.
T/F run in parallel? Default FALSE.
Equivalent to ape's rtree() but returns a TreeMan tree. Tree is always rooted and bifurcating.
ape
rtree()
TreeMan-class, blncdTree, unblncdTree
TreeMan-class
blncdTree
unblncdTree
# NOT RUN { library(treeman) tree <- randTree(5) # }
Run the code above in your browser using DataLab