Automatic descriptive statistic tables

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
https://github.com/nzcoops/r-code
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.

Advertisements

One thought on “Automatic descriptive statistic tables

  1. Dear Mats, your code for automatic descriptive analyses is awesome. However it isn’t working since I updated the R version to R version 3.1.2 (2014-10-31) for Mac. I tried to download the script from the website but the link isn’t working. Is there a way to get the script?
    Thanks in advance

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s