Graph gallery in R

January 6, 2011
By

(This article was first published on Statisfaction » R, and kindly contributed to R-bloggers)

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!


To leave a comment for the author, please follow the link and comment on his blog: Statisfaction » R.

R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...



If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Tags: , ,

Comments are closed.