View source: R/edd_sim_utilities.R
L2Phi_cpp | R Documentation |
C++ version of L2Phi #' @description Function to convert a table with speciation and extinction events to a phylogenetic diversity metric
L2Phi_cpp(L, t, metric)
L |
Matrix of events as produced by pdd_sim: |
t |
Sets whether the phylogeny should drop species that are extinct at the present |
metric |
Specifies which phylogenetic diversity metric should be used |
a value of one of the phylogenetic diversity metrices
Tianjian Qin
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.