Description Usage Arguments Value
View source: R/utility_functions.R
For each node in the tree (including internal nodes and tips) get the shortest distance to a descendant node. Values for tip nodes should be 0.
1 | distance_from_tip(phy)
|
phy |
A phylo object |
A vector with elements corresponding to each node
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.