View source: R/simulation_tree_pd.R
sim_tree_pd_grid | R Documentation |
super fast function to simulate the process of diversification with diversity dependence and phylogenetic diversity dependence
sim_tree_pd_grid(mu_vec, lambda_vec, b_n_vec, b_p_vec, max_t, num_repl, max_N)
mu_vec |
vector of extinction rates to explore |
lambda_vec |
vector of lambda rates to explore |
b_n_vec |
vector of B_n rates to explore |
b_p_vec |
vector of B_p rates to explore |
max_t |
crown age |
num_repl |
number of replicates |
max_N |
maximum number of lineages past which non-extinction is assumed. |
a list with the used parameter combinations, extinction of the phylogeny, and a vector with population size, time of extinction (equal to the crown #' age in the absence of extinction), and the phylogenetic diversity at the time of extinction (or crown age).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.