yuleSim: yuleSim

Description Usage Arguments Value Author(s) Examples

Description

Simulate Branching Times Under the Pure Birth Model

Usage

1
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

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

Example output

Loading required package: ape
Loading required package: geiger

laser documentation built on Jan. 15, 2017, 4:49 p.m.