powered by
Data checking and trait sorting In preparation for likelihood calculation, it orders trait data according the tree tips
sortingtraits(trait_info, phy)
Vector of traits
data frame where first column has species ids and the second one is the trait associated information.
phylogenetic tree of class phylo, rooted and with branch lengths.
phylo
# Some data we have prepared data(traits) data('phylo_vignette') traits <- sortingtraits(traits, phylo_vignette)
Run the code above in your browser using DataLab