Learn R Programming

phylometrics (version 0.0.1)

fpd: calculate the Fritz & Purvis D (FPD) metric

Description

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

Usage

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