Learn R Programming

apTreeshape (version 1.5-0.1)

yule_lengths: Internal BetaAlphaEta function

Description

Simulates node depths in the birth-death model, conditionned by the number of tips and the age of the root (using the expression in "The shape and probability of reconstructed phylogenies", by Amaury Lambert and Tanja Stadler (Theoretical Population Biology, 2013))

Usage

yule_lengths(N, b, d, tmax)

Arguments

N

Tip number

b

Birth rate

d

Death rate

tmax

Maximum age of the root

References

Lambert, Amaury, and Tanja Stadler. Birth-death models and coalescent point processes: The shape and probability of reconstructed phylogenies. Theoretical population biology 90 (2013): 113-128.