Description Usage Arguments Value
sim.fbd.rateshift.taxa function from the FossilSim Package, but it returns a list of the fossil along with the SAtree object. It also adds an (h) column to the fossil dataframe so that the fossil count functions (summary statistic) will work.
1 | modified_sfbdrt(n, numbsim, lambda, mu, psi, times, complete = FALSE)
|
n |
Number of extant taxa |
numbsim |
Number of trees to simulate |
lambda |
Speciation rate |
mu |
Extinction rate |
psi |
Fossil sampling rate. Input as a vector. |
times |
Vector of time intervals. |
complete |
Defaults to FALSE. If TRUE, the tree including the extint lineages and non-sampled lineages is returned. |
list(f,trees). Returns fossil object, f, and simulated SAtrees with n extant sampled tips
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.