Here is some code I worked on a while back to make the process of generating descriptive tables quicker. This was driven by constantly making data frames for and calculating means or counts for either sex or genotype divisions, then having to completely restructure code if a new level was introduced for one factor.
Update – Nov 2013
The site I was hosting the code on closed, scripts are now available on my github.
Gallery with 3 examples of tables generated with one line of code, using html export option.