Posts Tagged ‘ ggplot ’

ggplot2: Creating a custom plot with two different geoms

June 9, 2012
By
ggplot2: Creating a custom plot with two different geoms

This past week for work I had to create some plots to show the max, min, and median of a measure across the levels of a qualitative variable, and show the max and min of the same variable within a … Continue reading →

Read more »

Earthquake Density in the Philippines (2011-2012)

June 7, 2012
By
Earthquake Density in the Philippines (2011-2012)

 Using the same data and package from my previous post, but minor tweak on the code, I produced the map below:

Read more »

R-NOLD 2012-05-21 04:46:00

May 21, 2012
By
R-NOLD 2012-05-21 04:46:00

Mapping Philippines earthquake data from January 2011 to January 2012 collected by PHIVOLCS using R ggplot package.I tried to recreate the earthquake map of the Philippines created using maptool and R plot function using ggplot2. Earthquake map ...

Read more »

Bar Graph Colours That Work Well

May 17, 2012
By
Bar Graph Colours That Work Well

Ever since I started using ggplot2 more often at work in order to do graphs, I’ve realized something about the use of colour in bar graphs vs. dot plots: When I’m looking at a graph displayed on the brilliant Viewsonic … Continue reading →

Read more »

Functions ddply and melt make plotting summary stats in R more tolerable

May 15, 2012
By
Functions ddply and melt make plotting summary stats in R more tolerable

The main reason why I have usually chosen to use excel to make my plots at work is because I had difficulty feeding the summary stats in R into a plotting function.  One thing I learned this week is how … Continue reading →

Read more »

R Fell on Alabama–Presentation to Birmingham Open Source

March 27, 2012
By
R Fell on Alabama–Presentation to Birmingham Open Source

Birmingham Open Source Software (BOSS) was kind enough to invite me to do a debut presentation on R.  I had a lot of fun.  Below is the embedded Youtube.  Please let me know how I can improve.  I really appreciate helpful feedback.

Read more »

Opinions Not Backed by Money Updated Again

March 15, 2012
By
Opinions Not Backed by Money Updated Again

Strange that I am updating this post for a third time and nothing really has changed, but the fact that nothing has changed is incredibly interesting to me.  Since it is an update, I will not duplicate the explanation, so please read the last vers...

Read more »

If you have to use circles…

February 15, 2012
By
If you have to use circles…

Stats Chat is an interesting kiwi site—managed by the Department of Statistics of the University of Auckland—that centers around the use and presentation of statistics in the media. This week there was an interesting discussion on one of those infographics … Continue reading →

Read more »

Revisiting homicide rates

February 10, 2012
By
Revisiting homicide rates

A pint of R plotted an interesting dataset: intentional homicides in South America. I thought the graphs were pretty but I was unhappy about the way information was conveyed in the plots; relative risk should be very important but number … Continue reading →

Read more »

Plotting earthquake data

January 2, 2012
By
Plotting earthquake data

Since 4th September 2010 we have had over 2,800 quakes (considering only magnitude 3+) in Christchurch. Quakes come in swarms, with one or few strong shocks, followed by numerous smaller ones and then the ocasional shock, creating an interesting data … Continue reading →

Read more »