Category Archives: R

ggplot 2.0 and the missing order aesthetic

Version 2.0 of the popular R package ggplot2 was released three weeks ago. When I was reading the release notes, I largely just skipped over this entry under Deprecated features: The order aesthetic is officially deprecated. It never really worked, … Continue reading

Posted in R | Comments Off on ggplot 2.0 and the missing order aesthetic

Predicting the Stanley Cup Champion

When I was at the Recurse Center, I wanted to try the caret package for R. It provides a unified interface for training various types of classification and regression models, and parameter tuning through resampling. I needed a project to … Continue reading

Posted in R, sports | Comments Off on Predicting the Stanley Cup Champion

Where I’ve Been and How?

I have been running the Moves app on my phone for almost two years. I guess its main idea is to be an activity tracker; it’ll tell you how much you’ve walked, ran, or ridden a bike, without you having … Continue reading

Posted in cycling, R, transportation | Comments Off on Where I’ve Been and How?

Citi Bikes and Neighborhoods

New York City has an excellent bike sharing system called Citi Bikes. When I was at the Recurse Center, I frequently used the bikes for commuting. What was annoying though, was that every now and then all the nearby docks … Continue reading

Posted in cycling, R, transportation, urban | Comments Off on Citi Bikes and Neighborhoods

How I Move

With 12 full months of Moves data, I thought it would be a fun experiment to make some plots. These show how I move around in terms of time spent and distance traveled, both for relative share of each mode … Continue reading

Posted in cycling, R, transportation, Uncategorized | Comments Off on How I Move