1652 search results for "ggplot2"

Vote Compass: visualizing Canadian poll results with R

December 5, 2011
By
Vote Compass: visualizing Canadian poll results with R

Vote Compass is an online "electoral literacy application, whose goal is to encourage engagement with and stimulate discussion around the policy platforms of Canada's political parties. In the lead-up to the 2011 Canadian election, Vote Compass collected the results of an on-line 10-minute survey from more than 2 million participants, and used the results to align voters with the...

Read more »

The Art of R Programming – my two cents

December 5, 2011
By
The Art of R Programming – my two cents

What makes this book different from other books about R is stated clearly by the author Norman Matloff in the introduction:"This book is not a compendium of the myriad types of statistical methods that are available in the wonderful R package. It r...

Read more »

Visualizing Unemployment Data

December 3, 2011
By
Visualizing Unemployment Data

So recently Bureau of Labor Statistics released the Oct. 2011 unemployment data. This is not a discussion of it’s validity nor it’s impact, but it is a post on how to visualize it. This post is also for my posterity, I’ve wanted to be able to do this for a while, and it’ll serve as

Read more »

More Dabblings With Local Sentencing Data

December 1, 2011
By
More Dabblings With Local Sentencing Data

In Accessing and Visualising Sentencing Data for Local Courts I posted a couple of quick ways in to playing with Ministry of Justice sentencing data for the period July 2010-June 2011 at the local court level. At the end of the post, I wondered about how to wrangle the data in R so that I

Read more »

Earthquakes

November 30, 2011
By
Earthquakes

> data(quakes)> head(quakes) lat long depth mag stations1 -20.42 181.62 562 4.8 412 -20.62 181.03 650 4.2 153 -26.00 184.10 42 5.4 434 -17.97 181.66 626...

Read more »

Earthquakes

November 30, 2011
By
Earthquakes

> data(quakes)> head(quakes) lat long depth mag stations1 -20.42 181.62 562 4.8 412 -20.62 181.03 650 4.2 153 -26.00 184.10 42 5.4 434 -17.97 181.66 626...

Read more »

Job Satisfaction in England – GGPlot #2

November 29, 2011
By
Job Satisfaction in England – GGPlot #2

I’ve recently been scouring the internet for a public opinion data set pertaining to job satisfaction. I was particularly interested in examining how gender, age, and socio-economic status influence how satisfied an individual is with their current employment situation. For example, existing research suggests that women and private-sector employees tend to have higher levels of

Read more »

Accessing and Visualising Sentencing Data for Local Courts

November 29, 2011
By
Accessing and Visualising Sentencing Data for Local Courts

A recent provisional data release from the Ministry of Justice contains sentencing data from English(?) courts, at the offence level, for the period July 2010-June 2011: “Published for the first time every sentence handed down at each court in the country between July 2010 and June 2011, along with the age and ethnicity of each

Read more »

Putting it all together: concise code to make dotplots with weighted bootstrapped standard errors

November 27, 2011
By
Putting it all together: concise code to make dotplots with weighted bootstrapped standard errors

I analyze a lot of experiments and there are many times when I want to quickly look at means and standard errors for each cell (experimental condition), or the same for each cell and individual-level attribute level (e.g., Democrat, Independent, … Continue reading →

Read more »

Pseudo-Random vs. Random Numbers in R

November 25, 2011
By
Pseudo-Random vs. Random Numbers in R

Earlier, I found an interesting post from Bo Allen on pseudo-random vs random numbers, where the author uses a simple bitmap (heat map) to show that the rand function in PHP has a systematic pattern and compares these to truly random numbers obtained from random.org. The post’s results suggest that pseudo-randomness in

Read more »