I’m very pleased to announce the release of ggplot2 2.0.0. I know I promised that there wouldn’t be any more updates, but while working on the 2nd edition of the ggplot2 book, I just couldn’t stop myself from fixing some long standing problems. On the scale of ggplot2 releases, this one is huge with over
I came across a local website where individuals/dealers in Malaysia can post information on used and new cars that they are selling. Why i, in particular, would browse such a site might dumbfound some people (those who personally know me would … Continue reading →
One of the most common types of datasets people want to plot is one where there is a continuous dependent variable – like age, company profit, or beard length – as a function of a categorical independent variable – like gender, a specific company, or one’s pirate ship. Unfortunately, despite the vast improvements in computational ...
This short post will explore a funny dataset that forms part of R’s dataset library. The dataset will loaded out of interest of its content as well as using it to enagage with Hadley Wickhams’s ggplot2 package. The dataset that will be used to expl...
I teach some of my lab sections using R, and so I need to create lab handouts that include nicely formatted R commands and R output as an example for the students. These handouts will also include exercises where the students will be writing their own R code, or interpreting the results, or generating figures.
As most people realize, this is probably one of the most data-rich primary campaigns in history, with hundreds of professional pollsters poring over every data-point trying to understand voter’s intention.
So here is another data-rich post to that end.
I was glad to discover the University of California at Santa Barbara’s webpage with tons of high-quality data related to the...
Previously in this series
Cleaning and visualizing genomic data: a case study in tidy analysis
In the last post, we examined an available genomic dataset from Brauer et al 2008 about yeast gene expression under nutrient starvation. We learned to tidy it with the dplyr and tidyr packages, and saw how useful this tidied form is for visualizing...
In my course Learn to Map Census Data in R I provide people with a handful of interesting demographics to analyze. This is convenient for teaching, but people often want to search for other demographic statistics. To address that, today I will work through an example of starting with a simple demographic question and using R
Alright. Time to take another shot at web scraping. My attempt at scraping data off iBilik.my left me a little frustrated because of how long it took, and also at how i couldn’t get much information because of all the duplicated … Continue reading →