Last data update: 2014.03.03

R: yuleSim
yuleSimR Documentation

yuleSim

Description

Simulate Branching Times Under the Pure Birth Model

Usage

yuleSim(ntaxa, nsets, lambda = 0.01)

Arguments

ntaxa

number of taxa in each set of branching times

nsets

number of datasets of size ntaxa to be simulated

lambda

speciation rate (default = 0.01)

Value

an n x m matrix of branching times, where n is size ntaxa and m is size nsets

Author(s)

Dan Rabosky drabosky@umich.edu

Examples

  testdata <- yuleSim(25, 50, lambda = .001)

Results