recology
code and such

A new paper out in Ecology by Xiao and colleagues (in press, here) compares the use of log-transformation to non-linear regression for analyzing power-laws.They suggest that the error distribution ...

I am writing a set of functions to search ITIS for taxonomic information (more databases to come) and functions to fetch plant phylogenetic trees from Phylomatic. Code at github. Also, see the exa...

I did a little simulation to examine how K and lambda vary in response to tree size (and how they compare to each other on the same simulated trees). I use Liam Revell’s functions fastBM to generat...

UPDATE: Greg jordan has a much more elegant way of plotting trees with ggplot2. See his links in the comments below.I wrote a simple function for plotting a phylogeny in ggplot2. However, it only h...

I had seen the function idata.frame in plyr before, but not really tested it. From the plyr documentation: “An immutable data frame works like an ordinary data frame, except that when you subs...