Package: lattice 0.22-5

Deepayan Sarkar

lattice: 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.

Authors:Deepayan Sarkar [aut, cre], Felix Andrews [ctb], Kevin Wright [ctb], Neil Klepeis [ctb], Johan Larsson [ctb], Zhijian Wen [cph], Paul Murrell [ctb], Stefan Eng [ctb], Achim Zeileis [ctb], Alexandre Courtiol [ctb]

lattice_0.22-5.tar.gz
lattice_0.22-5.zip(r-4.5)lattice_0.22-5.zip(r-4.4)lattice_0.22-5.zip(r-4.3)
lattice_0.22-5.tgz(r-4.4-x86_64)lattice_0.22-5.tgz(r-4.4-arm64)lattice_0.22-5.tgz(r-4.3-x86_64)lattice_0.22-5.tgz(r-4.3-arm64)
lattice_0.22-5.tar.gz(r-4.5-noble)lattice_0.22-5.tar.gz(r-4.4-noble)
lattice_0.22-5.tgz(r-4.4-emscripten)lattice_0.22-5.tgz(r-4.3-emscripten)
lattice.pdf |lattice.html
lattice/json (API)
NEWS

# Install 'lattice' in R:
install.packages('lattice', repos = c('https://deepayan.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/deepayan/lattice/issues

Datasets:
  • USMortality - Mortality Rates in US by Cause and Gender
  • USRegionalMortality - Mortality Rates in US by Cause and Gender
  • barley - Yield data from a Minnesota barley trial
  • environmental - Atmospheric environmental conditions in New York City
  • ethanol - Engine exhaust fumes from burning ethanol
  • melanoma - Melanoma skin cancer incidence
  • singer - Heights of New York Choral Society singers

On CRAN:

17.39 score 68 stars 13k packages 26k scripts 80k downloads 251 mentions 148 exports 0 dependencies

Last updated 7 months agofrom:757d099b58. Checks:OK: 4 WARNING: 5. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 04 2024
R-4.5-win-x86_64WARNINGNov 04 2024
R-4.5-linux-x86_64WARNINGNov 04 2024
R-4.4-win-x86_64WARNINGNov 04 2024
R-4.4-mac-x86_64WARNINGNov 04 2024
R-4.4-mac-aarch64WARNINGNov 04 2024
R-4.3-win-x86_64OKNov 04 2024
R-4.3-mac-x86_64OKNov 04 2024
R-4.3-mac-aarch64OKNov 04 2024

Exports:as.factorOrShingleas.shingleaxis.defaultbankingbarchartbwplotcanonical.themeclassic.themecloudcol.whitebgcontourplotcurrent.columncurrent.panel.limitscurrent.rowdensityplotdiag.panel.splomdo.breaksdotplotdraw.colorkeydraw.keyequal.counthistogramis.shinglelarrowslattice.getOptionlattice.optionslatticeParseFormulalevel.colorslevelplotllineslplot.xylpointslpolygonlpolypathlrectlsegmentsltextltransform3dMatrixltransform3dto3dmake.groupsmakeShadePaletteonewaypacket.numberpacket.panel.defaultpanel.3dscatterpanel.3dwirepanel.ablinepanel.arrowspanel.averagepanel.axispanel.barchartpanel.brush.splompanel.bwplotpanel.cloudpanel.contourplotpanel.curvepanel.densityplotpanel.dotplotpanel.errorpanel.fillpanel.gridpanel.histogrampanel.identifypanel.identify.cloudpanel.identify.qqmathpanel.levelplotpanel.levelplot.rasterpanel.linejoinpanel.linespanel.link.splompanel.lmlinepanel.loesspanel.mathdensitypanel.numberpanel.pairspanel.parallelpanel.pointspanel.polygonpanel.polypathpanel.qqpanel.qqmathpanel.qqmathlinepanel.rectpanel.reflinepanel.rugpanel.segmentspanel.smoothScatterpanel.splinepanel.splompanel.stripplotpanel.superposepanel.superpose.2panel.superpose.plainpanel.textpanel.tmd.defaultpanel.tmd.qqmathpanel.violinpanel.wireframepanel.xyplotparallelparallelplotprepanel.default.bwplotprepanel.default.cloudprepanel.default.densityplotprepanel.default.histogramprepanel.default.levelplotprepanel.default.parallelprepanel.default.qqprepanel.default.qqmathprepanel.default.splomprepanel.default.xyplotprepanel.lmlineprepanel.loessprepanel.qqmathlineprepanel.splineprepanel.tmd.defaultprepanel.tmd.qqmathqqqqmathrfsRowsshingleshow.settingssimpleKeysimpleThemesplomstandard.themestrip.customstrip.defaultstripplottmdtrellis.currentLayouttrellis.devicetrellis.focustrellis.grobnametrellis.last.objecttrellis.panelArgstrellis.par.gettrellis.par.settrellis.switchFocustrellis.unfocustrellis.vpnamewhich.packetwireframexscale.components.defaultxyplotxyplot.tsyscale.components.default

Dependencies:

Integation with grid

Rendered fromgrid.Rnwusingutils::Sweaveon Nov 04 2024.

Last update: 2021-05-16
Started: 2021-05-16

Readme and manuals

Help Manual

Help pageTopics
Lattice Graphicslattice-package Lattice lattice
Common Bivariate Trellis Plotsbarchart barchart.data.frame barchart.default barchart.formula barchart.numeric bwplot bwplot.data.frame bwplot.formula bwplot.numeric dotplot dotplot.data.frame dotplot.default dotplot.formula dotplot.numeric stripplot stripplot.data.frame stripplot.formula stripplot.numeric xyplot xyplot.data.frame xyplot.formula
Time series plotting methodsxyplot.ts
table methods for barchart and dotplotbarchart.array barchart.matrix barchart.table dotplot.array dotplot.matrix dotplot.table
Histograms and Kernel Density Plotsdensityplot densityplot.data.frame densityplot.formula densityplot.numeric do.breaks histogram histogram.data.frame histogram.factor histogram.formula histogram.numeric
Q-Q Plot with Theoretical Distributionqqmath qqmath.data.frame qqmath.formula qqmath.numeric
Quantile-Quantile Plots of Two Samplesqq qq.data.frame qq.formula
Level plots and contour plotscontourplot contourplot.array contourplot.data.frame contourplot.formula contourplot.matrix contourplot.table levelplot levelplot.array levelplot.data.frame levelplot.formula levelplot.matrix levelplot.table
3d Scatter Plot and Wireframe Surface Plotcloud cloud.data.frame cloud.formula cloud.matrix cloud.table wireframe wireframe.data.frame wireframe.formula wireframe.matrix
Scatter Plot Matricesparallel parallelplot parallelplot.data.frame parallelplot.formula parallelplot.matrix splom splom.data.frame splom.formula splom.matrix
Tukey Mean-Difference Plotpanel.tmd.default panel.tmd.qqmath prepanel.tmd.default prepanel.tmd.qqmath tmd tmd.data.frame tmd.formula tmd.trellis
Residual and Fit Spread Plotsrfs
Fit One-way Modeloneway
Initializing Trellis Displaystrellis.device
Built-in Graphical Themescanonical.theme classic.theme col.whitebg custom_theme standard.theme
Graphical Parameters for Trellis Displaysshow.settings trellis.par.get trellis.par.set
Function to generate a simple themesimpleTheme
Low-level Options Controlling Behaviour of Latticelattice.getOption lattice.options
Plot and Summarize Trellis Objectsdim.trellis dimnames.trellis panel.error plot.trellis print.trellis summary.trellis
Retrieve and Update Trellis Objectt.trellis trellis.last.object update.trellis [.trellis
shinglesas.character.shingleLevel as.data.frame.shingle as.factorOrShingle as.shingle equal.count is.shingle plot.shingle print.shingle print.shingleLevel shingle summary.shingle [.shingle
Produce a colorkey typically for levelplotdraw.colorkey
Produce a Legend or Keydraw.key
A function to compute false colors representing a numeric or categorical variablelevel.colors
Grouped data from multiple vectorsmake.groups
Function to generate a simple keysimpleKey
Default Trellis Strip Functionstrip.custom strip.default
A Trellis Plot Objecttrellis.object
Functions to Interact with Lattice Plotspanel.brush.splom panel.identify panel.identify.cloud panel.identify.qqmath panel.link.splom trellis.focus trellis.grobname trellis.panelArgs trellis.switchFocus trellis.unfocus trellis.vpname
Default Panel Function for barchartpanel.barchart
Default Panel Function for bwplotpanel.bwplot
Default Panel Function for cloudmakeShadePalette panel.3dscatter panel.3dwire panel.cloud panel.wireframe
Default Panel Function for densityplotpanel.densityplot
Default Panel Function for dotplotpanel.dotplot
Default Panel Function for histogrampanel.histogram
Panel Functions for levelplot and contourplotpanel.contourplot panel.levelplot panel.levelplot.raster
Default Superpanel Function for splomdiag.panel.splom panel.pairs
Default Panel Function for parallelpanel.parallel
Default Panel Function for qqmathpanel.qqmath
Default Panel Function for stripplotpanel.stripplot
Default Panel Function for xyplotpanel.qq panel.splom panel.xyplot
Replacements of traditional graphics functionslarrows larrows.default llines llines.default lplot.xy lpoints lpoints.default lpolygon lpolygon.default lpolypath lpolypath.default lrect lrect.default lsegments lsegments.default ltext ltext.default panel.arrows panel.lines panel.points panel.polygon panel.polypath panel.rect panel.segments panel.text
Useful Panel Function Componentspanel.abline panel.average panel.curve panel.fill panel.functions panel.grid panel.linejoin panel.lmline panel.mathdensity panel.refline panel.rug
Panel Function to Add a LOESS Smoothpanel.loess
Useful panel function with qqmathpanel.qqmathline
Lattice panel function analogous to smoothScatterpanel.smoothScatter
Panel Function to Add a Spline Smoothpanel.spline
Panel Function for Display Marked by groupspanel.superpose panel.superpose.2 panel.superpose.plain
Panel Function to create Violin Plotspanel.violin
Default Prepanel Functionsprepanel.default.bwplot prepanel.default.cloud prepanel.default.densityplot prepanel.default.histogram prepanel.default.levelplot prepanel.default.parallel prepanel.default.qq prepanel.default.qqmath prepanel.default.splom prepanel.default.xyplot
Useful Prepanel Function for Latticeprepanel.lmline prepanel.loess prepanel.qqmathline prepanel.spline
Default axis annotation utilitiesaxis.default xscale.components.default yscale.components.default
Bankingbanking
Parse Trellis formulalatticeParseFormula
Associating Packets with Panelspacket.panel.default
Panel Function for Drawing Axis Ticks and Labelscurrent.panel.limits panel.axis
Accessing Auxiliary Information During Plottingcurrent.column current.row packet.number panel.number trellis.currentLayout which.packet
Extract rows from a listRows
Utility functions for 3-D plotsltransform3dMatrix ltransform3dto3d palette.shade utilities.3d
Yield data from a Minnesota barley trialbarley
Atmospheric environmental conditions in New York Cityenvironmental
Engine exhaust fumes from burning ethanolethanol
Melanoma skin cancer incidencemelanoma
Heights of New York Choral Society singerssinger
Mortality Rates in US by Cause and GenderUSMortality USRegionalMortality
Interface to modify Trellis Settings - Defunctlset