sortingtraits | R Documentation |
Data checking and trait sorting In preparation for likelihood calculation, it orders trait data according the tree tips
sortingtraits(trait_info, phy)
trait_info |
data frame where first column has species ids and the second one is the trait associated information. |
phy |
phylogenetic tree of class |
Vector of traits
# Some data we have prepared
data(traits)
data('phylo_vignette')
traits <- sortingtraits(traits, phylo_vignette)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.