Trellis Graphics for R

A powerful and elegant high-level data visualization system inspired by Trellis graphics, with an emphasis on multivariate data. Lattice is sufficient for typical graphics needs, and is also flexible enough to handle most nonstandard requirements. See ?Lattice for an introduction.


Lattice

Lattice is a powerful and elegant high-level data visualization system for R, inspired by Trellis graphics. It is designed with an emphasis on multivariate data, and in particular allows easy conditioning to produce "small multiple" plots. Lattice is sufficient for typical graphics needs, and is also flexible enough to handle most nonstandard requirements.

Reference manual

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

install.packages("lattice")

0.23-1 by Deepayan Sarkar, 2 months ago


https://lattice.r-forge.r-project.org/


Report a bug at https://github.com/deepayan/lattice/issues


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


Authors: Deepayan Sarkar [aut, cre] (ORCID: , Felix Andrews [ctb] , Kevin Wright [ctb] (documentation) , Neil Klepeis [ctb] , Johan Larsson [ctb] (miscellaneous improvements) , Zhijian (Jason) Wen [cph] (filled contour code) , Paul Murrell [ctb] , Stefan Eng [ctb] (violin plot improvements) , Achim Zeileis [ctb] (modern colors) , Alexandre Courtiol [ctb] (generics for larrows , lpolygon , lrect and lsegments)


Documentation:   PDF Manual  


GPL (>= 2) license


Imports grid, grDevices, graphics, stats, utils

Suggests KernSmooth, MASS, latticeExtra, colorspace

Enhances chron, zoo


Imported by AICcmodavg, ASMbook, AppliedPredictiveModeling, ApplyPolygenicScore, BAMBI, BCDAG, BKP, BayesianNetwork, Blendstat, Cascade, CensSpatial, ChainLadder, ChemoSpec, ClinicalUtilityRecal, DAAG, DepthProc, DoE.base, DoseFinding, EQL, ETAS, EmiStatR, FactoMineR, FeatureTerminatoR, FieldSimR, GALLO, GENLIB, GLMMRR, GPfit, GWSDAT, Gmisc, HDShOP, IAcsSPCR, IDPmisc, IFC, ImputeRobust, IsoriX, LearnBayes, LocalControl, MCMCpack, Matrix, MixSIAR, MoEClust, ModTools, MplusAutomation, MultBiplotR, NBKP, Orcs, PCAPAM50, PCRA, Patterns, PhotoGEA, PopGenReport, QTLRel, R2MLwiN, R2admb, REBayes, RGraphics, ROCnReg, RPPanalyzer, RSiena, RcmdrMisc, RcmdrPlugin.HH, Rita, RobLox, Rssa, SAFARI, SWMPr, Select, SensMap, SixSigma, SongEvo, StroupGLMM, SuperpixelImageSegmentation, Surrogate, SynergyLMM, TAF, Toothnroll, VOSONDash, VineCopula, WeightedTreemaps, adaptTest, ade4TkGUI, adegraphics, adespatial, agriTutorial, albatross, ammiBayes, analogue, ape, aqp, asbio, atime, automap, bbmle, bestglm, biometryassist, blackbox, bmabart, brainGraph, c060, caretEnsemble, cg, clubpro, coda, comato, compstatslib, connected, copula, corrgram, cubeview, cv, cvmgof, daewr, dcmle, deeptime, denstrip, desplot, dfphase1, dplR, drawsample, eRm, ebm, ecochange, effects, eggCounts, emdbook, etm, facmodCS, facmodTS, faoutlier, fastR2, fit.models, flexclust, flexmix, fungible, galamm, gamclass, gbm, gbm3, gcbd, gerbil, ggcleveland, ggdmcPrior, ggtern, gipsDA, gpairs, greport, gstat, gwid, hdbma, hexbin, hydroTSM, industRial, influence.ME, isa2, joineR, kangar00, kdecopula, lemon, lessR, lfstat, lme4, loa, locfit, lulcc, mapview, matchingMarkets, mboost, metap, metaplot, mice, microplot, mirtCAT, mixPHM, mlt.docreg, mma, morphomap, mosaic, mountainplot, mrgsim.sa, mstate, mt, mvna, mycor, nFactors, nethist, nlme, nonmem2R, npROCRegression, opa, pamm, pbo, pdp, pedometrics, pems.utils, plainview, plm, plotMCMC, polySegratioMM, ppmlasso, protein8k, psych, psychomix, qicharts, qrmtools, rankFD, reddPrec, refund, ribiosPlot, riskRegression, rminer, robust, robustlmm, rrcov, rrcovNA, runjags, rvinecopulib, scaRabee, scape, sharpshootR, shrinkTVPVAR, sisal, slfm, slideview, sp, spacetime, spind, stlplus, stressr, stylo, survey, synthpop, tTOlr, tcl, teal.modules.general, textplot, trajectories, tripEstimation, twang, twangContinuous, twangMediation, unmarked, varbvs, vegan, vegan3d, visPedigree, wqc, wrGraph, zoo.

Depended on by ASMap, BSDA, BayesGPfit, BayesianMediationA, BigVAR, BoutrosLab.plotting.general, ConvergenceConcepts, Cubist, DCL, Devore7, ELT, EngrExpt, EstCRM, FAwR, HH, ILS, InvasionCorrection, MALDIrppa, MCPMod, MPV, Maeswrap, NU.Learning, PASWR, PASWR2, PairedData, ProTrackR, REPPlab, RHC, RSA, RSAtools, RcmdrPlugin.temis, Rmisc, SALTSampler, SEL, TDboost, TestingSimilarity, abd, assist, backtest, barcode, bc3net, cardidates, caret, cem, coalescentMCMC, cvTools, equivalence, erboost, flare, gammSlice, generalCorr, geoelectrics, growthrates, gsbDesign, hett, hotspots, hyperSpec, iClick, iGasso, kergp, kzs, latticeExtra, mapStats, memisc, mirt, mixture, msme, nftbart, optiscale, pblm, phenmod, plink, portfolio, qra, randomLCA, rasterVis, robfilter, simFrame, simPop, solaR, spectral, spuRs, statnetWeb, stripless, survSNP, tactile, tdr, wskm, xpose4.

Suggested by AER, BioCro, BioStatR, BiodiversityR, CDM, ChemoSpecUtils, ChoiceModelR, CorrBin, Countr, DCCA, DCG, DEoptim, DTAT, DiceDesign, EFA.dimensions, EnvStats, GLMMadaptive, GUD, HRW, HSAUR, HSAUR2, HSAUR3, HistData, Hmisc, ICAOD, JMbayes2, JoSAE, KRLS, LMMstar, LPCM, LSAmitR, LSRS, Lahman, MASS, MEMSS, MPDiR, MSIMST, MVA, MethComp, ModStatR, Morpho, NBR, NHSRdatasets, NO.PING.PONG, Oncotree, OrgMassSpecR, PBImisc, Perc, RFLPtools, RGCxGC, RMark, RStoolbox, Rcmdr, RcmdrPlugin.NMBU, RcppDE, RcppZiggurat, SASmixed, SCEPtER, SCEPtERbinary, SPSL, Sleuth2, Sleuth3, SoilR, SpaDES.core, StatRank, SuperLearner, TAM, TH.data, TeachingDemos, TrackReconstruction, VC2copula, WeightedCluster, XLConnect, acss, actuaRE, ade4, admix, afex, agridat, agriutilities, animint2, asremlPlus, baseline, bayesImageS, beanplot, betareg, binom, bio3d, biometrics, biotools, bnlearn, brokenstick, bslib, camtrapR, cassandRa, cati, cohorttools, copCAR, cotram, cowplot, cvGEE, dartR, dartR.base, datana, dclone, deform, desirability, detrendr, directlabels, diveMove, dyn, dyntaper, ecostats, eiPack, emmeans, episensr, ergm, eulerr, evaluate, evtree, fChange, fairml, fda, forplo, fourierin, gamair, gamlss.add, gamlss.lasso, gap, gaussplotR, gcKrig, gear, geoR, georob, gge, ggformula, ggordiplots, ggplotify, ggthemes, gllvm, glmertree, glmmTMB, glogis, grImport, greta, gridBase, gridDebug, gridExtra, gridGeometry, gridSVG, gsubfn, hamlet, hann, heplots, hextri, hhh4contacts, ifit, interp, intkrige, isotracer, kohonen, languageR, latentcor, lcmm, leafpop, lucid, marmap, mbbefd, mellio, meteoForecast, mi, misc3d, mlbench, mlmRev, mlogit, mosaicData, movMF, mpt, mrgsolve, mritc, multcomp, multilaterals, multipanelfigure, mutoss, mvtweedie, ngme2, nlmeU, nlraa, npmlreg, nvmix, odiffr, pacman, pagenum, pander, party, pdc, periscope2, plotscale, polyCub, polywog, protViz, pscl, psyphy, qqplotr, qrmdata, quartose, r2d2, rSPDE, remote, reshape2, rfordummies, rgl, rms, robmixglm, robustX, robustbase, robustfa, round, rpanel, rstpm2, rtdists, rtf, sageR, sand, sandwich, sensitivity, sfsmisc, shinyPredict, simecol, simsalapar, sklarsomega, smoothROCtime, soilhypfit, sommer, spdep, sperich, staplr, stellaR, stepgbm, steprf, stlnpp, subniche, subsemble, superb, surveillance, swag, tbm, teal.reporter, teal.widgets, tergm, tern, texmex, thematic, tikzDevice, tinyVAST, tmvtnorm, tools4uplift, topicmodels, tram, tramnet, trip, trtf, udpipe, ustyc, varycoef, vcdExtra, vipor, visreg, vivo, voluModel, wCorr, xdvir, zenplots.


See at CRAN