bdScaler | R Documentation |
Place speciation event in a speciation/extinction rate-informed position
bdScaler(tree, lambda, mu, min.age, max.age)
tree |
A phylogeny in ape format. |
lambda |
The speciation rate. |
mu |
The exctinction rate. |
min.age |
Minimum age of the missing speciation event to be inferred. Note that this is the age counting back from the tips, such that 0 is the present. Thus, min.age must always be less than max.age. |
max.age |
Maximum age of the missing speciation event to be inferred. |
This function assumes that a single species is missing, then takes the provided lambda and mu values, and the range of time over which the speciation event occurred, and generates the missing time.
A missing speciation time.
ETM unpublished
#load a molecular tree up
data(bird.families)
bdScaler(bird.families, lambda=1, mu=0, min.age=0, max.age=10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.