Learn R Programming

apTreeshape (version 1.5-0.1)

simulate.R: Simulate R knowing K=k

Description

Simulate a split conditioned to the number of marks in each resulting subinterval

Usage

simulate.R(beta, n, K)

Arguments

beta

Imbalance index

n

Tip number in the parent clade

K

Tip number in the left daugther clade

References

Maliet O., Gascuel F., Lambert A. (2018) Ranked tree shapes, non-random extinctions and the loss of phylogenetic diversity, bioRxiv 224295, doi: https://doi.org/10.1101/224295