Description Usage Arguments Value
View source: R/multiple_simulations.R
Function runs multiple simulations. Can be specified by row. Also provides summary statistics like total fossil count, fossil count per interval, and origin time.
1 2 3 4 5 6 7 8 9 10 | sim_multiple_rows(
data,
extant,
mus,
lambdas,
psis,
intervals,
by = FALSE,
path = c()
)
|
data |
data frame |
extant |
Number of extant taxa |
mus |
Extinction rate |
lambdas |
Speciation rate |
psis |
Fossil sampling rate. Input as a vector |
intervals |
Vector of time intervals or time bins |
by |
Selects for specific rows. For example, by = 100 refers to sampling every 100th row. Defaults to FALSE. If FALSE, every row is sampled to produce a simulated phylo object. |
path |
Specify path to save |
summlist. An object describing useful summary statistics like total fossil count, fossil count per interval, and origin time
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.