Skip to Content

Function of the day

Construct the path to a file from components in a platform-independent way.

Package of the day

This package implements a data structure similar to hashes in Perl and dictionaries in Python but with a purposefully R flavor. For objects of appreciable size, access using hashes outperforms native named lists and vectors.

Question of the day

On general request, a community wiki on producing latex tables in R. In this post I'll give an overview of the most commonly used packages and blogs with code for producing latex tables from less straight-forward objects. Please feel free to add any I missed, and/or give tips, hints and little tricks on how to produce nicely formatted latex tables with R.

Recent blog posts

3 hours 4 min ago
Every year since her inauguration in 1952, Queen Elizabeth II has delivered a Christmas Broadcast to her subjects. Dominic Nyhuis used R to analyze the transcripts of the speeches, and found some interesting trends in speech length and words used. Here, for example, are word clouds of the speeches from the first half (1962-1976) and second half (1977-2001) of ER2's reign.
3 days 3 hours ago
Regular readers of this blog know that I love optical illusions, and I recently found the most (literally!) mind-boggling one I've seen yet. This is not a spiral:
3 days 8 hours ago
Johns Hopkins Biostatistics Professor (and presenter of Data Analysis at Coursera) Jeff Leek has published his list of awesome things other people did in 2014. It's well worth following the links in his 38 entries, where you'll find a wealth of useful resources in teaching, statistics, data science, and data visualization.

Featured How To

The following list of data sources has been modified as of 3/18/14. Most of the data sets listed below are free, however, some are not.