Description Usage Arguments Value
View source: R/utility_functions.R
For each internal node, calculate the difference in state values at the two child nodes
1  | calc_diffs(phy, states)
 | 
phy | 
 An ape::phylo object  | 
states | 
 A vector with length equal to nodes with the state at each node  | 
A vector of values corresponding to each internal node with the value difference
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.