Creates a random phylo4 tree, in parallel to ape's rtree function.

rtree4(n, ...)

Arguments

n

an integer giving the number of tips in the tree

...

further arguments to be passed to rtree

Value

An object of class "phylo4".

Author

Michael Boyd mboyd855@gmail.com

Michelle Kendall michelle.louise.kendall@gmail.com

Examples

## Create a random phylo4 tree with 10 tips:
tree4 <- rtree4(10)