Learn R Programming

geiger (version 0.2-5)

tip.disparity: Tip disparity calculation

Description

Calculates disparity for every clade in a tree

Usage

tip.disparity(phy, data, disp = "avg.sq")

Arguments

phy
Phylogenetic tree
data
Morphological data
disp
Disparity metric

Value

  • Vector of disparities

References

Harmon et al. 2003

Examples

Run this code
data(geospiza)
attach(geospiza)

tip.disparity(geospiza.tree, geospiza.data)

Run the code above in your browser using DataLab