DSR, Day 4 – From WTF to OMG

R, R all over again. It’s fun: I feel like being back on track now. Things are still a little slow for me. I have done very little coding for the past two years, and it’s noticeable. I moved from “WTF!” (I can’t do anything anymore) to “OMG” (this is awesome!).

We’re still covering variable types, and fairly simple operations on them. Today was data frames (love them, extremely versatile), matrices (always hated them, but now made my peace with them); also working with attributes and factors.
I liked factors, because they used to make things run quicker for categorial data, but apparently that feature is gone. Yet, they still make life simpler by easy renaming and ordering (good for plotting graphs!).

Apart from that…cut(), cut bins data into different buckets according to breaks. That does make categorising much easier than using the plain old data$category[which data$x>5]<-category5.

Dolores burritos for lunch – very packed, both the place and the burritos, yet both absolutely great.

Leave a Reply