Learn R Programming

⚠️There's a newer version (0.22-7) 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

186,363

Version

0.21-9

License

GPL (>= 2)

Maintainer

Deepayan Sarkar

Last Published

October 1st, 2023

Functions in lattice (0.21-9)

D_level.colors

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

Engine exhaust fumes from burning ethanol
H_environmental

Atmospheric environmental conditions in New York City
B_06_levelplot

Level plots and contour plots
C_04_lattice.options

Low-level Options Controlling Behaviour of Lattice
G_latticeParseFormula

Parse Trellis formula
F_2_llines

Replacements of traditional graphics functions
I_lset

Interface to modify Trellis Settings - Defunct
B_03_histogram

Histograms and Kernel Density Plots
D_make.groups

Grouped data from multiple vectors
H_melanoma

Melanoma skin cancer incidence
F_1_panel.bwplot

Default Panel Function for bwplot
E_interaction

Functions to Interact with Lattice Plots
G_packet.panel.default

Associating Packets with Panels
F_1_panel.densityplot

Default Panel Function for densityplot
F_1_panel.dotplot

Default Panel Function for dotplot
B_11_oneway

Fit One-way Model
F_1_panel.cloud

Default Panel Function for cloud
G_panel.axis

Panel Function for Drawing Axis Ticks and Labels
F_1_panel.histogram

Default Panel Function for histogram
F_1_panel.barchart

Default Panel Function for barchart
F_2_panel.functions

Useful Panel Function Components
F_2_panel.loess

Panel Function to Add a LOESS Smooth
F_1_panel.levelplot

Panel Functions for levelplot and contourplot
F_2_panel.smoothScatter

Lattice panel function analogous to smoothScatter
F_1_panel.parallel

Default Panel Function for parallel
G_panel.number

Accessing Auxiliary Information During Plotting
F_1_panel.pairs

Default Superpanel Function for splom
F_2_panel.qqmathline

Useful panel function with qqmath
F_1_panel.qqmath

Default Panel Function for qqmath
F_3_prepanel.functions

Useful Prepanel Function for Lattice
C_05_print.trellis

Plot and Summarize Trellis Objects
F_1_panel.xyplot

Default Panel Function for xyplot
F_3_prepanel.default

Default Prepanel Functions
F_2_panel.violin

Panel Function to create Violin Plots
F_2_panel.spline

Panel Function to Add a Spline Smooth
F_2_panel.superpose

Panel Function for Display Marked by groups
B_05_qq

Quantile-Quantile Plots of Two Samples
B_04_qqmath

Q-Q Plot with Theoretical Distribution
F_1_panel.stripplot

Default Panel Function for stripplot
D_simpleKey

Function to generate a simple key
B_09_tmd

Tukey Mean-Difference Plot
C_03_simpleTheme

Function to generate a simple theme
C_01_trellis.device

Initializing Trellis Displays
D_strip.default

Default Trellis Strip Function
H_singer

Heights of New York Choral Society singers
C_02a_standard.theme

Built-in Graphical Themes
B_10_rfs

Residual and Fit Spread Plots
C_07_shingles

shingles
B_08_splom

Scatter Plot Matrices
D_trellis.object

A Trellis Plot Object
B_01_xyplot.ts

Time series plotting methods
C_06_update.trellis

Retrieve and Update Trellis Object
B_00_xyplot

Common Bivariate Trellis Plots
G_utilities.3d

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

Graphical Parameters for Trellis Displays
H_USMortality

Mortality Rates in US by Cause and Gender
D_draw.colorkey

Produce a colorkey typically for levelplot
G_axis.default

Default axis annotation utilities
B_07_cloud

3d Scatter Plot and Wireframe Surface Plot
G_banking

Banking
G_Rows

Extract rows from a list
H_barley

Yield data from a Minnesota barley trial
D_draw.key

Produce a Legend or Key
A_01_Lattice

Lattice Graphics
B_02_barchart.table

table methods for barchart and dotplot