Learn R Programming

⚠️There's a newer version (0.22-6) of this package.Take me there.

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.

Copy Link

Version

Install

install.packages('lattice')

Monthly Downloads

86,457

Version

0.22-5

License

GPL (>= 2)

Maintainer

Last Published

October 24th, 2023

Functions in lattice (0.22-5)

A_01_Lattice

Lattice Graphics
G_banking

Banking
B_07_cloud

3d Scatter Plot and Wireframe Surface Plot
D_draw.colorkey

Produce a colorkey typically for levelplot
H_USMortality

Mortality Rates in US by Cause and Gender
G_axis.default

Default axis annotation utilities
G_Rows

Extract rows from a list
F_2_llines

Replacements of traditional graphics functions
C_04_lattice.options

Low-level Options Controlling Behaviour of Lattice
I_lset

Interface to modify Trellis Settings - Defunct
F_1_panel.densityplot

Default Panel Function for densityplot
D_draw.key

Produce a Legend or Key
G_latticeParseFormula

Parse Trellis formula
F_1_panel.bwplot

Default Panel Function for bwplot
F_2_panel.functions

Useful Panel Function Components
B_02_barchart.table

table methods for barchart and dotplot
F_1_panel.cloud

Default Panel Function for cloud
F_1_panel.dotplot

Default Panel Function for dotplot
F_1_panel.parallel

Default Panel Function for parallel
H_environmental

Atmospheric environmental conditions in New York City
G_panel.number

Accessing Auxiliary Information During Plotting
B_03_histogram

Histograms and Kernel Density Plots
F_1_panel.histogram

Default Panel Function for histogram
H_ethanol

Engine exhaust fumes from burning ethanol
E_interaction

Functions to Interact with Lattice Plots
F_1_panel.pairs

Default Superpanel Function for splom
G_panel.axis

Panel Function for Drawing Axis Ticks and Labels
F_2_panel.spline

Panel Function to Add a Spline Smooth
D_level.colors

A function to compute false colors representing a numeric or categorical variable
B_05_qq

Quantile-Quantile Plots of Two Samples
D_make.groups

Grouped data from multiple vectors
B_04_qqmath

Q-Q Plot with Theoretical Distribution
D_simpleKey

Function to generate a simple key
F_1_panel.stripplot

Default Panel Function for stripplot
F_1_panel.barchart

Default Panel Function for barchart
B_09_tmd

Tukey Mean-Difference Plot
H_melanoma

Melanoma skin cancer incidence
C_01_trellis.device

Initializing Trellis Displays
B_06_levelplot

Level plots and contour plots
C_03_simpleTheme

Function to generate a simple theme
F_2_panel.superpose

Panel Function for Display Marked by groups
F_2_panel.qqmathline

Useful panel function with qqmath
F_2_panel.smoothScatter

Lattice panel function analogous to smoothScatter
B_11_oneway

Fit One-way Model
G_packet.panel.default

Associating Packets with Panels
F_1_panel.levelplot

Panel Functions for levelplot and contourplot
F_1_panel.qqmath

Default Panel Function for qqmath
F_3_prepanel.functions

Useful Prepanel Function for Lattice
F_2_panel.loess

Panel Function to Add a LOESS Smooth
F_2_panel.violin

Panel Function to create Violin Plots
B_10_rfs

Residual and Fit Spread Plots
C_05_print.trellis

Plot and Summarize Trellis Objects
C_02a_standard.theme

Built-in Graphical Themes
D_strip.default

Default Trellis Strip Function
C_06_update.trellis

Retrieve and Update Trellis Object
D_trellis.object

A Trellis Plot Object
C_07_shingles

shingles
G_utilities.3d

Utility functions for 3-D plots
C_02b_trellis.par.get

Graphical Parameters for Trellis Displays
F_1_panel.xyplot

Default Panel Function for xyplot
F_3_prepanel.default

Default Prepanel Functions
H_singer

Heights of New York Choral Society singers
B_08_splom

Scatter Plot Matrices
B_00_xyplot

Common Bivariate Trellis Plots
B_01_xyplot.ts

Time series plotting methods
H_barley

Yield data from a Minnesota barley trial