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
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
Last month I ran my first webinar (“Make a Census Explorer with Shiny”). About 100 people showed up, and feedback from the participants was great. I also had a lot of fun myself. Because of this, I’ve decided to do one more webinar before my free trial with the webinar service ends. Here are the
I am holding an exercise on generalised models these days. Preparing a task on factor coding
in generalised linear models, I realised that the help on the internet on that is not so
easy to understand. At least what I found. So in order to help people ...