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

11 hours 47 min ago
The R community has grown explosively over the past few years, both in terms of the number of R users and the number of companies who rely on R as their data science platform.
1 day 9 hours ago
Mixed models (which include random effects, essentially parameters drawn from a random distribution) are tricky beasts. Throw non-Normal distributions into the mix for Generalized Linear Mixed Models (GLMMs), or go non-linear, and things get trickier still. It was a new field of Statistics when I was working on the Oswald package for S-PLUS, and even 20 years later some major questions have yet to be fully answered (like, how do you calculate the degrees of freedom for a significance test?).
4 days 4 hours ago
Here's one for all the vexillologists out there. The USA has 50 states, and each of them has a flag. Even if you live in the States, you probably haven't seen them all and many of them are ... surprising. Take the "typography" on Oregon's flag to start:

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.