ggplot2: An implementation of the Grammar of Graphics

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, and you can still build up a plot step by step from multiple data sources. It also implements a sophisticated multidimensional conditioning system and a consistent interface to map data to aesthetic attributes. See the ggplot2 website for more information, documentation and examples.

Depends: R (≥ 2.14), stats, methods
Imports: plyr (≥ 1.7.1), digest, grid, gtable (≥ 0.1.1), reshape2, scales (≥ 0.2.3), proto, MASS
Suggests: quantreg, Hmisc, mapproj, maps, hexbin, maptools, multcomp, nlme, testthat
Enhances: sp
Published: 2013-03-02
Author: Hadley Wickham, Winston Chang
Maintainer: Hadley Wickham <h.wickham at>
License: GPL-2
NeedsCompilation: no
Citation: ggplot2 citation info
Materials: README NEWS
In views: Graphics
CRAN checks: ggplot2 results


Reference manual: ggplot2.pdf
Package source: ggplot2_0.9.3.1.tar.gz
OS X binary: ggplot2_0.9.3.1.tgz
Windows binary:
Old sources: ggplot2 archive

Reverse dependencies:

Reverse depends: AmpliconDuo, aoristic, bcrm, benchmark, breakpoint, caret, catenary, chemosensors, clusthaplo, clustrd, coefplot, cooccur, Deducer, dfexplore, dsm, DTR, dynsurv, earlywarnings, eeptools, egcm, erer, ezsim, fishmove, freqparcoord, gettingtothebottom, GGally, ggHorizon, ggmap, ggmcmc, ggparallel, ggROC, ggtern, ggthemes, GOsummaries, gpmap, granovaGG, gsDesign, GSE, HTSCluster, kobe, likeLTD, likert, localgauss, MCMC.qpcr, mcprofile, MergeGUI, meteogRam, micromap, MissingDataGUI, MRMR, multilevelPSA, NeatMap, npmv, OutbreakTools, PairedData, PAWL, pbdPROF, pcaPA, pcrcoal, PedCNV, pequod, performanceEstimation, perry, PhaseType, phylosim, pitchRx, PKgraph, PKreport, popgraph, ppstat, PRISMA, processdata, profileR, ProgGUIinR, PSAboot, qdap, quadrupen, rags2ridges, rAltmetric, Rcell, RcmdrPlugin.KMggplot2, RDS, rfPermute, RGraphics, robustHD, rorutadis, rotations, rplos, RSA, RSDA, Rz, SDaA, season, SMFI5,, sotkanet, sparkTable, spcosa, spikeSlabGAM, spocc, survMisc, timeline, TriMatch, tspmeta, useful, userfriendlyscience, wethepeople, xkcd, YourCast
Reverse imports: adegenet, alm, antitrust, bear, Biograph, capm, Causata, choroplethr, classify, clhs, cplm, DescribeDisplay, diveRsity, dynsim, EasyHTMLReport, extracat, ez, FAOSTAT, FinCal, GCD, gfcanalysis, ggdendro, ggsubplot, gitter, GraphPCA, growcurves, gstudio, HLMdiag, IAT, kdetrees, marked, metagen, Methplot, mizer, Mobilize, multiDimBio, ngramr, NMF, nullabor, pa, paleofire, plot2groups, PopGenReport, poppr, PReMiuM, primerTree, rbison, Rchoice, rfigshare, rfisheries, rgauges, rgbif, rinat, rnoaa, robustlmm, RPPanalyzer, rvertnet, rWBclimate, SCGLR, simPH, SixSigma, sjPlot, sorvi, strvalidator, toaster, TreatmentSelection, treemap, Wats, wppExplorer
Reverse suggests: abctools, abd, archetypes, automap, bams, bbmle, BCEA, binom, cda, chron, clere, clhs, coloc, cvxclustr, data.table, demi, dielectric, directlabels, doBy, dplyr, ecoengine, evaluate, FField, freqweights, frontiles, gcookbook, ggROC, glinternet, gridDebug, gridExtra, HistData, HiveR, hyperSpec, installr, Kmisc, knitrBootstrap, Lahman, lda, LDheatmap, lme4, MAc, MAd, microbenchmark, mistat, mixstock, mosaic, MSG, multitable, munsell, NlsyLinks, OpenStreetMap, optiRum, pander, PBImisc, peptider, planar, playwith, plspm, popReconstruct, profr, ProjectTemplate, PSCBS, psd, R2admb, rasterVis, rattle, rbefdata, ReporteRs, RIGHT, robustbase, rpf, rtematres, rtf, SamplerCompare, seewave, snpEnrichment, SPOT, ss3sim, StatRank, SuperLearner, sweSCB, tabplot, taRifx, TeachingDemos, tikzDevice, timeit, TimeProjection, tourr, tourrGui, trapezoid, treecm, TripleR, varbvs, vcdExtra, wesanderson, wq, XLConnect, zoo
Reverse enhances: pmg, RcmdrPlugin.MA, tis