Learn R Programming

laser (version 2.1)

yuleSim: yuleSim

Description

Simulate Branching Times Under the Pure Birth Model

Usage

yuleSim(ntaxa, nsets, lambda = 0.01)

Arguments

Value

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

Examples

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

Run the code above in your browser using DataLab