tars {phylometrics} | R Documentation |
This function calculates the TARS metric. To conduct significance test on TARS, use 'tars' as input of 'func' in 'treestat'
tars(state, phy)
state |
a vector of '0' and '1' for trait state of each tip, in the same order as the tip labels. |
phy |
an object of class 'phylo'. |