Learn R Programming

phylometrics (version 0.0.1)

noto: calculate the number of tips per origin (NoTO) metric

Description

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

Usage

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