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

Description Usage Arguments

View source: R/tars.R

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 29, 2017, 3:41 p.m.