search_tree | R Documentation |
Function to search for trees with a given number of tips and a given parameter set
search_tree(
pars,
age,
model,
metric,
offset,
size = NULL,
n = 1,
history = FALSE,
verbose = FALSE,
size_limit = 1e+06
)
pars |
Vector of parameters: |
age |
Sets the crown age for the simulation |
model |
Sets the model of diversity-dependence: |
metric |
"pd" , "ed" or "nnd", Specifies which evolutionary distinctiveness metric should be used. |
offset |
Specifies which method to use to offset the impact of tree age and the collinearity between pd and species richness. "none" for no offset method; "simtime" for deducting tree age from pd value; "spcount" for dividing pd value by species richness; "both" for applying both "simtime" and "spcount", by firstly deducting tree age and then dividing by species richness |
size |
Specifies the number of tips in the tree to be searched for |
n |
Specifies the number of trees to be searched for |
history |
Logical, indicating whether to record the historical states (of the rates and ED/PD values) |
verbose |
Logical, for debugging purpose, indicating whether to print simulation info at each step in the console, and save running time to a file |
size_limit |
Specifies the maximum number of tips in the tree to be |
converter |
Either "cpp" or "r", choose which version of L2phylo to use. |
a list of trees
Tianjian Qin
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.