An implementation of the grammar of graphics in R.
Check out the documentation for ggplot2 - the next generation
ggplot is an implementation of the grammar of graphics in R. It combines the advantages of both base and lattice graphics: conditioning and shared axes are handled automatically, while maintaining the ability to build up a plot step by step from multiple data sources. It also implements a more sophisticated multidimensional conditioning system and a consistent interface to map data to aesthetic attributes.
Along with reshape, ggplot won the 2006 John Chambers Award for Statistical Computing. Reshape provides a set of convenient tools for rearranging and summarising your data.
install.packages("ggplot", dep=T). (see changes)?ggplot (or example(ggplot)) to get startedThanks to Di Cook, Charlotte Wickham, John Shirley, Günther Sawitzki, Gabor Grothendieck, Timm Danker for their bug reports, complaints about missing features and suggestions for improvements