Monthly Archives: August 2010

How to animate Google Earth with R

August 6, 2010
By
How to animate Google Earth with R

We've looked before at how you can annotate geographical maps using R, but what if you want to overlay data onto a globe of the Earth, using Google Earth? The RKML package for R (from the OmegaHat project) allows you to do just that, by providing a high-level interface from R to generate KML files, which in turn are...

Read more »

Twenty rules for good graphics

August 6, 2010
By
Twenty rules for good graphics

One of the things I repeatedly include in referee reports, and in my responses to authors who have submitted papers to the International Journal of Forecasting, are comments designed to include the quality of the graphics. Recently someone asked on stats.stackexchange.com about best practices for producing plots. So I thought it might be helpful to

Read more »

Combinadics in R

August 5, 2010
By
Combinadics in R

A question on stats.stackexchange.com reminded me of some code I wrote earlier this summer. The code provides a correspondence between the natural numbers 1 to (N choose K) and all the unique K sized combinations one could draw from N items. This relationship is know as the combinadic of an integer (and my code is pased on...

Read more »

RcppArmadillo 0.2.5

August 5, 2010
By

Hot on the heels of RcppArmadillo release 0.2.4 a few days ago comes a new release 0.2.5 which is now on CRAN. RcppArmadillo makes it easy to write highly efficient and highly readable C++ code for linear algebra (based on Armadillo) in R extensions (u...

Read more »

RcppArmadillo 0.2.5

August 5, 2010
By

Hot on the heels of RcppArmadillo release 0.2.4 a few days ago comes a new release 0.2.5 which is now on CRAN. RcppArmadillo makes it easy to write highly efficient and highly readable C++ code for linear algebra (based on Armadillo) in R extensions (...

Read more »

R and Google Earth ~ comparing tuna tracks vs. Gulf of Mexico oil spill extent

August 5, 2010
By
R and Google Earth ~ comparing tuna tracks vs. Gulf of Mexico oil spill extent

There is a lot of interest in how the Gulf of Mexico oil gusher will affect the ecosystem and its marine species. One such species is the Western Atlantic bluefin tuna that holds the Gulf of Mexico as one of its major spawning grounds. Recent tag data show that the location of the gusher is

Read more »

Where have all the Hacker News old-timers gone?

August 5, 2010
By
Where have all the Hacker News old-timers gone?

Nostalgia ain't what it used to be. As slashdot slowly loses its relevance and digg heads for a more general audience to head off competition from Twitter, loyal readers of uber-technical news aggregator Hacker News wonder if it's heading the same way. Seems like the long-standing users aren't posting links to deep, interesting articles anymore, and are instead being...

Read more »

Internal Migration Estimation in England and Wales

August 5, 2010
By
Internal Migration Estimation in England and Wales

During my MS.c. I worked on methods for combining internal migration data in England and Wales. Migration data is often represented in square tables of origin-destination flows. These are of particular interest to analysing migration patterns when they are disaggregated … Continue reading →

Read more »

New R User Group in Portland, OR

August 5, 2010
By

There's another new R user group on the US West Coast, this time in Portland, Oregon. The Portland R User Group will hold their first meeting at the Lucky Labrador Brew Pub on Tuesday, August 17. If you're in the Portland/Vancouver area, come along for beeRs and conversation with other useRs in your area. Incidentally, there are so many...

Read more »

Are MLB Games Getting Longer?

August 5, 2010
By
Are MLB Games Getting Longer?

On July 29, 2010, I had a flight from Denver to Cincinnati.  About an hour before boarding, I went to ESPN’s website and found a new article by Bill Simmons, a.k.a The Sports Guy (@sportsguy33 on Twitter).  The basic premise of this article is that a core group of fans is losing interest in Red

Read more »