We do have an alpha version of the package 'ecoPD' (http://r-forge.r-project.org/projects/ecopd/). You can get it by using:


install.packages("ecoPD",repos="http://R-Forge.R-project.org",type="source").


Then, you can see the current available functions if you do this:

help(package="ecoPD")


basically there are functions for some of the measures (e.g., iac, haed, eaed, etc.), they are not all listed in the help file yet.


Not sure how much you know about R, but the metric functions work on an ecoPD object which combines phylogenetic information with community abundances. Type this to see an example:


data(weeds)

weeds


you can use haed(weeds), etc to see what the metrics return.


To turn your data into ecoPD objects you can use the 'phylo4com' function -which there is a help file for. This function turns a phylogeny into a phylo4 abject using the phylobase package and then creates a new object with a data attribute with abundances for each species for each community. To see this type:


weeds@data


or


attributes(weeds) to see the pieces that make up the ecoPD object type. The metric functions (iac, haed, etc.) automatically use the various parts of the ecoPD object to make the calculation.