Learn R Programming

apTreeshape (version 1.5-0.1)

simulate.Tau.X: Simulate (Tau, X_Tau-)

Description

Simulates the time before the splitting of the marks into two different fragments, and the size of the fragment at this time.

Usage

simulate.Tau.X(epsilon, x, alpha, beta, n, ab = FALSE, eta = 1, x.ab = 1, lambda = NULL)

Arguments

epsilon

Minimum size of unsampled splits (see appendix 1)

x

Initial fragment size

alpha

Clade age-richness index

beta

Imbalance index

n

Number of marks

ab

Boolean, should the abundances be computed as well? (default to FALSE)

eta

Clade abundance-richness index (if ab)

x.ab

Initial abundance

lambda

Optional, vector of lambda_epsilon returned by the function lambda_N. If set to NULL (the default) it will be computed inside the function

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