dtt {geiger} | R Documentation |
Creates a disparity-through-time plot for either a single data set or multiple data sets (for example, from simulations)
dtt(phy, data, disp = "avg.sq")
phy |
Phylogenetic tree in 'phylo' format |
data |
Data - either actual or simulated |
disp |
Disparity metric - see disp.calc |
Average disparity for clades whose stem crosses each time interval in the tree
Luke J. Harmon
Harmon et al. 2003
data(geospiza) attach(geospiza) drop.tip(geospiza.tree, "olivacea")->g.tree disp.data<-dtt(g.tree, geospiza.data) ltt<-sort(branching.times(g.tree), decr=TRUE) ltt<-c(0, (max(ltt)-ltt)/max(ltt)); plot(ltt, disp.data, type="l", lwd=2)