View source: R/generate_stack.R
generate_stack | R Documentation |
function to perform ABC-SMC
generate_stack(
number_of_replicates = 1000,
parameters = NULL,
min_tips = 50,
max_tips = 150,
emp_tree = NULL,
crown_age = NULL,
write_to_file = FALSE,
file_name = NULL
)
number_of_replicates |
number of particles used per iteration of the SMC algorithm |
parameters |
parameters, a vector with: 1) extinction rate, 2) (sympatric) speciation rate at high water, 3) sympatric speciation rate at low water, 4) allopatric speciation rate at low water, 5) posterior perturbation and 6) the specific model, where 1) model without water level changes, 2) literature water level changes, 3) extrapolated water level changes, 4) standard birth-death model. |
min_tips |
minimum number of tips |
max_tips |
maximum number of tips |
emp_tree |
phy object holding phylogeny of the tree to be fitted on |
crown_age |
crown age |
write_to_file |
boolean, if TRUE, results are written to file. |
file_name |
file name |
a tibble containing the results
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.