Blog Archives

Intentional Homicide in South America 1995-2010

February 9, 2012
By
Intentional Homicide in South America 1995-2010

Intentional homicide is defined as unlawful death purposefully inflicted on a person by another person. The source of this stat is The United Nations Office on Drugs and Crime (UNODC). I created the above image using ggplot2 which does 98% of the leg-work in most cases. Count is the number of homicides in a calendar year

Read more »

Suicide vs Divorce rates by country using ggplot

January 10, 2012
By
Suicide vs Divorce rates by country using ggplot

I was looking for data I could use with the geom_text() object in ggplot2 and came across this data from the World Health Organization about the suicide rates by country which I found very handy for my example. I used the scale_colour_gradient2() with 3 colors, red, gray and black but it only picked up gray and

Read more »

Presidents in Twitter

January 5, 2012
By
Presidents in Twitter

I saw the release of a new version of twitteR package a few weeks back and thought I should be testing the code I wrote some time ago but also do something interesting at the same time. Thus I came up with the idea of checking out how Presidents are do...

Read more »

Twitter Analysis using R

February 6, 2011
By
Twitter Analysis using R

One of the things that normally slow me down when I am learning a new tool outside working hours is the lack of an interesting project/task that forces me to investigate more about the sort of activities required to finish the project successfully. On ...

Read more »

Hello world!

January 24, 2011
By
Hello world!

I suppose that “Hello World” is the first thing that any blogger should do when starts a blog. So here I go “HELLO WORLD!!!” The aim of this blog is to gather my thoughts and experience around learning R and hopefully to get a lot of insights from my readers. Officially this is my third attempt

Read more »