Posts tagged as:


Visualizing politics through time

November 22, 2010

We love choropleths here at TGR, and here's a really great set -- David Sparks has mapped US presidential voting patterns through time to create an excellent visualization of ebbing (and sometimes volatile) political attitudes: Best of all, he did it with R. Please see David's website for more details. Some of his other projects […]

0 comments Read the whole post →

Google Refine

November 11, 2010

Google has launched a new open-source project called Refine (formerly Metaweb's Freebase Gridworks) which allows users to easily clean up and transform large datasets. There is nothing more painful than cleaning data at the command line - I'd even go so far as to say it's impossible to do a good job. Sorry, R. Excel […]

0 comments Read the whole post →

The language of statistics

June 24, 2010

Joseph Rickert has written a piece calling R "the language of statistics," which I feel is a deserved title. As he puts it: I don’t just mean that R “is spoken” by many or even most statisticians. R’s superiority for statistics is deeper than that. R is a language with syntax and structure that have […]

0 comments Read the whole post →

Where do R commands come from?

May 13, 2010

Ever wondered why R commands have those funny and sometimes confusing abbreviations? I admit I always found "c" (which [c]ombines elements) confusing... especially when I was starting out, and would bind it to test variables. In the spirit of upholding my end of TGR's bargain (in which I provide items of nerdy interest and you […]

1 comment Read the whole post →

Choropleths in R (yes, "choropleths")

November 12, 2009

Using R to recreate color-indexed maps of US unemployment data.

31 comments Read the whole post →

R style guide

August 13, 2009

Google has posted a style guide for R which is being used throughout the organization. It's mostly in line with what I learned once upon a time, but it's nice to see such an authoritative body coming out with a set of standards. Universal coding benefits everyone, and R is growing so rapidly that some […]

0 comments Read the whole post →

On graphing horse races

May 8, 2009

In response to Andrew Gelman's call for interesting visualizations of the Kentucky Derby, Megan Pledger created the following graph: I think it's especially interesting because the data is fictional, based on a few simple rules to simulate horse behavior (that's right - this is just like a single realization of a Monte Carlo process!). Andrew […]

0 comments Read the whole post →