tars: calculate the tip age rank sum (TARS) metric

Description Usage Arguments

Description

This function calculates the TARS metric. To conduct significance test on TARS, use 'tars' as input of 'func' in 'treestat'

Usage

1
tars(state, phy)

Arguments

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'.


phylometrics documentation built on May 2, 2019, 2:26 a.m.