1765 search results for "Ggplot2"

Grexit stage left: visualizing the online discussion around Greece’s possible Euro exit

May 24, 2012
By
Grexit stage left: visualizing the online discussion around Greece’s possible Euro exit

  While Tsipras and his Syriza coalition have been busy in Greek parliament, the Internet has been a-buzz with speculation that their platform will result in a Greek exit from the Euro currency.  This prospect, affectionately dubbed “Grexit” by Citi… Read more ›

Read more »

Global Fires, the Amazon and Humans

May 23, 2012
By
Global Fires, the Amazon and Humans

Fires are natural - most of the time (click on image for larger view). Natural Global Fires Many plants and animals have evolved to depend on fires periodically occurring in certain parts of the world. This phenomenon has been occurring for...

Read more »

The grade level of Congress speeches, analyzed with R

May 22, 2012
By
The grade level of Congress speeches, analyzed with R

As widely reported by CNN, the Huffington Post, Talking Points Memo, the sophistication of speeches by US politicians has declined in recent years, dropping from an 11th-grade level in 2005 to a 10th-grade level today. The reports are based on an analysis by the Sunlight Foundation, based on textual analysis of congressional speeches given since 1996 provided by the...

Read more »

A complete Bayesian model for sensory profiling data

May 22, 2012
By
A complete Bayesian model for sensory profiling data

In this post I will try to add an important parts in the sensory profiling model I have been building. This concerns the question: 'Are all panelists equally reproducible?'. Obviously the answer is no, some are better than others. From this observation...

Read more »

Adding watermarks to plots

May 22, 2012
By
Adding watermarks to plots

A question was raised today on the mailing list: Is there an easy way to add a watermark to a ggplot? There are several options, depending on the type of watermark and the required level of control over the output, add a text label using annotate (th...

Read more »

A visual data summary for data frames

May 21, 2012
By
A visual data summary for data frames

If you want to get a quick numerical summary of a data set, the summary function gives a nice overview for data frames: > require(ggplot2) Loading required package: ggplot2 > data(diamonds) > summary(diamonds) carat cut color clarity depth table Min. :0.2000 Fair : 1610 D: 6775 SI1 :13065 Min. :43.00 Min. :43.00 1st Qu.:0.4000 Good : 4906 E: 9797...

Read more »

Charting Twitter time series data with tweet and unique user counts

May 21, 2012
By

Let’s say you’ve used my Python script to automate the download of a hashtag or search phrase from Twitter (in a Unicode safe way, unlike within R).  Now let’s say you want to visualize the number of tweets over time.  Easy… Read more ›

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 »

A Monty Hall Monte Carlo, Part 1? (Oh God)

May 20, 2012
By
A Monty Hall Monte Carlo, Part 1? (Oh God)

While I dig into conjugacy and the calculation of Bayesian credibility intervals, I figured it’d be good to put some of my other little rabbit holes up here on the off chance they’re interesting to someone. For some reason I...

Read more »

Cleveland Indians’ Attendance

May 20, 2012
By
Cleveland Indians’ Attendance

Recently, Chris Perez, the closer for the Indians, displayed some frustration with the fans for not supporting the team. Currently, they have the lowest attendance in the majors -- by a decent margin. The Indians are averaging about 15,000 fans per hom...

Read more »