Miscellaneous Functions for "Grid" Graphics

Provides a number of user-level functions to work with "grid" graphics, notably to arrange multiple grid-based plots on a page, and draw tables.

Provides a number of user-level functions to work with "grid" graphics, notably to arrange multiple grid-based plots on a page, and draw tables. Earlier versions of the package contained more experimental graphical objects (grobs), that have now been removed.

See the gridExtra wiki for additional information, answers to Frequently Asked Questions, and the latest vignettes.


gridExtra 2.2.0 (2016-02-27)

  • added padding argument to table themes
  • simplified a few theme arguments
  • recycling logic was flawed for aesthetics in table cells

gridExtra 2.1.0 (2015-07-27)

  • expanded vignettes
  • wiki page features a FAQ section
  • added join function from gtable (with fix)
  • global size and font parameters more accessible in themes
  • added str.gtable method
  • str.default was causing issues with gtables

gridExtra 2.0.0 (2015-07-11)

  • removed experimental grobs and functions not widely used (they can be found at https://github.com/baptiste/gridextra if needed)

  • arrangeGrob/grid.arrange is now based on gtable

  • tableGrob/grid.table is now based on gtable

gridExtra 1.0.0 (2014-10-05)

  • several buggy functions removed

gridExtra 0.9.1 (2012-08-09)

  • small compatibility issue of arrangeGrob with new class of ggplot2

gridExtra 0.9 (2012-01-06)

  • dependencies in examples, imports and exports
  • multipage output and ggsave support for grid.arrange

gridExtra 0.8.5 (2011-10-26)

  • removed LazyLoad, deprecated in R>=2.14
  • stextGrob text with a background

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


2.3 by Baptiste Auguie, 11 days ago

Browse source code at https://github.com/cran/gridExtra

Authors: Baptiste Auguie [aut, cre], Anton Antonov [ctb]

Documentation:   PDF Manual  

GPL (>= 2) license

Imports gtable, grid, grDevices, graphics, utils

Suggests ggplot2, egg, lattice, knitr, testthat

Imported by AFM, BNSP, BayesFM, BioPET, CONS, ChaosGame, CommT, CosmoPhotoz, DClusterm, DataExplorer, DendroSync, Fgmutils, GADMTools, Hmisc, IGM.MEA, IntClust, LBSPR, LumReader, PGRdup, PTXQC, Phxnlme, PhyInformR, Plasmidprofiler, QuantumClone, RAM, RDS, RSPS, SWMPr, Seurat, ShinyItemAnalysis, TELP, TriMatch, UpSetR, WRTDStidal, WVPlots, Xplortext, accSDA, afmToolkit, atlantistools, bamdit, bsam, bsamGP, caretEnsemble, cellWise, choroplethr, classifierplots, cocoreg, colorpatch, covmat, crmPack, darksky, dataMaid, diagis, dynsim, emdi, episensr, fSRM, factorMerger, fastqcr, findviews, funModeling, gdimap, geomerge, getmstatistic, ggCompNet, ggdmc, ggfortify, ggguitar, ggmosaic, ggpubr, ggtern, gogamer, granovaGG, hdnom, iqspr, kgschart, learningCurve, lemon, likert, lindia, lmms, lsbclust, mbgraphic, metaplotr, miscset, modeval, morse, mosaic, moveVis, myTAI, networktools, nima, olsrr, pacotest, patPRO, pdp, pifpaf, pointRes, powerlmm, prcbench, precrec, preproviz, qdap, r2glmm, radiant.basics, radiant.data, radiant.model, radiant.multivariate, rangeMapper, refund.shiny, remote, reproducer, rfPermute, rnoaa, rrepast, rstan, scorecard, shinystan, simPH, snht, soc.ca, sparsereg, speaq, spikeSlabGAM, starmie, statebins, strataG, strvalidator, subspaceMOA, sure, survMisc, survminer, svdvis, tRophicPosition, trackeR, userfriendlyscience, varian, vdg, viridis, waffle, yorkr.

Depended on by ACSNMineR, ESGtoolkit, GOplot, HH, PPtreeViz, RATest, TeachBayes, climwin, cr17, dotwhisker, egg, ncappc, primerTree, rorutadis, sparkTable, spc4sts, tcR.

Suggested by EFDR, FField, HistData, IncDTW, KSD, LSAmitR, ParamHelpers, RGraphics, RStoolbox, RcmdrPlugin.MA, SCGLR, Sofi, StatRank, aimPlot, autoimage, bayesplot, braidReports, cate, cda, copula, ddpcr, disclapmix, dtwSat, eechidna, eesim, evolqg, fivethirtyeight, frailtyEM, frailtySurv, funData, futureheatwaves, ggQC, ggalt, ggbeeswarm, ggjoy, ggmcmc, ggridges, ggsci, hhh4contacts, hrbrthemes, hyfo, iNEXT, iNextPD, ifaTools, jcolors, ltbayes, mcMST, medicalrisk, mlrMBO, mlt.docreg, mlxR, naniar, npregfast, planar, pmc, raptr, rattle, rotations, rpf, rstanarm, sgd, simstudy, sjPlot, solarius, spup, stormwindmodel, surveillance, texmex, tukeytrend, vortexR, walker, walkr.

See at CRAN