rtree4: Random phylo4 tree

View source: R/rtree4.R

rtree4R Documentation

Random phylo4 tree

Description

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

Usage

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

Michael Boyd mboyd855@gmail.com

Michelle Kendall michelle.louise.kendall@gmail.com

Examples

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



phyloTop documentation built on Feb. 16, 2023, 5:55 p.m.