Statisfaction

Graph gallery in R

Posted in R by Julyan Arbel on 6 January 2011

R is sometime criticized for producing graphs not as elaborated as Matlab ones, or other softwares’. Here is a link to a graph gallery by Romain François to “enhance your data visualization with R”. The corresponding R code is given. Might be useful for ENSAE students for ‘statap’ projects. Below are four examples.

The maps package will turn out useful for at least one group:

For multiple histograms on a single graph:

Here is a way to add a third (positive) variable on a scatter plot:

To finish with, and because I’m keen on ternary plots:

This one only lacks colors. I definitely should write the Richter plot R package!

About these ads
Tagged with: ,

4 Responses

Subscribe to comments with RSS.

  1. Pierre Jacob said, on 7 January 2011 at 22:16

    I recently discovered ggplot2
    http://had.co.nz/ggplot2/
    which can also make some really cool graphs, I might post about it soon.

  2. [...] Graph gallery in R [...]

  3. Random art on the web « Statisfaction said, on 15 October 2011 at 21:42

    [...] Check the R Graph Gallery if you want to enhance your data visualization in R! Advertisement Eco World Content From Across The Internet. Featured on EcoPressed Solar Mosaic, Kickstarter for solar aims high Share this:EmailDiggFacebookTwitterLike this:LikeBe the first to like this post. Leave a Comment [...]

  4. Nick Hamilton said, on 12 December 2013 at 18:24

    A package for doing ternary plots, extending ggplot2: http://www.ggtern.com


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 50 other followers

%d bloggers like this: