Rows | Convenience function to extract a subset of a
list. Usually used in creating keys. |
as.shingle, as.factorOrShingle | Functions to handle shingles. |
axis.default | Default function for drawing axes in lattice
plots. |
banking | Calculates banking slope. |
barchart | Draws bar charts. |
bwplot | Draws box plots. |
canonical.theme | Initialization of a display device with appropriate
graphical parameters. |
cloud | Generic function to draw 3D scatter plots and surfaces.
The "formula" methods do most
of the actual work. |
col.whitebg | Initialization of a display device with appropriate
graphical parameters. |
contourplot | Draws level plots and contour plots. |
current.column | Returns an integer index specifying which column in the
layout is currently active. |
current.panel.limits | Used to retrieve a panel’s x and y limits. |
current.row | Returns an integer index specifying which row in the
layout is currently active. |
densityplot | Draws histograms and kernel density plots, possibly
conditioned on other variables. |
diag.panel.splom | This is the default superpanel function for splom . |
do.breaks | Draws histograms and kernel density plots, possibly
conditioned on other variables. |
dotplot | Draws Cleveland dot plots. |
draw.colorkey | Produces (and possibly draws) a grid frame grob, which is
a color key that can be placed in other grid plots. Used in
levelplot. |
draw.key | Produces (and possibly draws) a grid frame grob, which is
a legend (aka key) that can be placed in other grid
plots. |
equal.count | Function to handle shingles. |
histogram | Draws histograms and kernel density plots, possibly
conditioned on other variables. |
is.shingle | Function to handle shingles. |
larrows, llines, lplot.xy, lpoints, lpolygon, lrect,
lsegments, ltext, panel.points, panel.polygon, panel.rect,
panel.segments, panel.text | These functions are intended to replace common low-level
traditional graphics functions, primarily for use in panel
functions. The originals cannot be used (at least not easily)
because lattice panel functions need to use grid graphics.
Low-level drawing functions in grid can be used directly as well
and are often more flexible. These functions are provided for
convenience and portability. |
lattice.getOption, lattice.options | Functions to handle settings used by lattice . Their main purpose is to make
code maintenance easier, and users normally should not need to
use these functions. However, fine control at this level may be
useful in certain cases. |
latticeParseFormula | Used by high-level lattice functions like xyplot to parse the formula argument
and evaluate various components of the data. |
level.colors | Calculates false colors from a numeric variable
(including factors, using their numeric codes) given a color
scheme and break points. |
levelplot | Draws level plots and contour plots. |
ltransform3dMatrix, ltransform3dto3d | These are (related to) the default panel functions for
cloud and wireframe . |
make.groups | Combines two or more vectors, possibly of different
lengths, producing a data frame with a second column indicating
which of these vectors that row came from. This is mostly useful
for getting data into a form suitable for use in high-level
lattice functions. |
oneway | Fits a one-way model to univariate data grouped by a
factor, the result often being displayed using rfs . |
packet.number | A function that identifies which packet each observation
in the data is part of. |
packet.panel.default | Default function in lattice to determine, given the
column, row, page, and other relevant information, the packet
(if any) that should be used in a panel. |
panel.3dscatter, panel | Default panel functions controlling cloud and wireframe displays. |
panel.abline | Adds a line of the form y = a + bx
or vertical and/or horizontal lines. |
panel.average | Treats one of x and
y as a factor (according to the value of
horizontal), calculates FUN
applied to the subsets of the other variable determined by each
unique value of the factor, and joins them by a line. |
panel.arrows | Draws arrows in a panel. |
panel.axis | The function used by lattice to draw axes. It is typically
not used by users, except those wishing to create advanced
annotation. Keep in mind issues of clipping when trying to use
it as part of the panel function. current.panel.limits can be used to
retrieve a panel’s x and
y limits. |
panel.barchart | Default panel function for barchart . |
panel.brush.splom | panel.link.splom is
meant for use with splom and requires a panel to be chosen using
trellis.focus before it is
called. Clicking on a point causes that and the corresponding
projections in other pairwise scatter plots to be
highlighted. |
panel.bwplot | Default panel function for bwplot . |
panel.cloud | Default panel function controlling cloud and wireframe displays. |
panel.contourplot | Default panel function for levelplot . |
panel.curve | Adds a curve, similar to what curve does with add=TRUE . Graphical parameters for the
line are obtained from the add.line setting. |
panel.densityplot | Default panel function for densityplot . |
panel.dotplot | Default panel function for dotplot . |
panel.error | Default handler used when an error occurs while executing
a panel function. |
panel.fill | Fills the panel with a specified color. |
panel.grid | Draws a reference grid. |
panel.histogram | Default panel function for histogram . |
panel.identify | Similar to identify. When called, it waits for the user
to identify points (in the panel being drawn) via mouse
clicks. |
panel.levelplot | Default panel function for levelplot . |
panel.linejoin | panel.linejoin is an
alias for panel.average that
was retained for back-compatibility and may go away in the
future. |
panel.lines | Plots lines in a panel. |
panel.link.splom | The classic Trellis paradigm is to plot the whole object
at once, without the possibility of interacting with it
afterward. However, by keeping track of the grid viewports where
the panels and strips are drawn, it is possible to go back to
them afterward and enhance them one panel at a time. This
function provides convenient interfaces to help in this. Note
that this is still experimental and the exact details may change
in the future. |
panel.lmline | panel.lmline(x, y) is
equivalent to panel.abline(lm(y~x)) . |
panel.loess | Adds a smooth curve (fitted by loess ). |
panel.mathdensity | Plots a (usually theoretical) probability density
function. |
panel.number | Returns an integer counting which panel is being drawn
(starting from 1 for the first panel, aka the panel
order). |
panel.pairs | Default superpanel function for splom . |
panel.parallel | Default panel function for parallel . |
panel.qq | Default panel function for qq . |
panel.qqmath | Default panel function for qqmath . |
panel.qqmathline | Useful panel function with qqmath . Draws a line passing through
the points (usually) determined by the 0.25 and 0.75 quantiles
of the sample and the theoretical distribution. |
panel.refline | Similar to panel.abline , but uses the
“reference.line” settings for the defaults. |
panel.rug | Adds a rug representation of the (marginal) data to the
panel. |
panel.smoothScatter | Allows the user to place smoothScatter plots in lattice
graphics. |
panel.splom | Default panel function for splom . |
panel.stripplot | Default panel function for stripplot . Also see panel.superpose . |
panel.superpose, panel.superpose.2 | These are panel functions for Trellis displays, which are
useful when a grouping variable is specified for use within
panels. The x (and y where appropriate) variables are
plotted with different graphical parameters for each distinct
value of the grouping variable. |
panel.tmd.default, panel.tmd.qqmath | Default panel functions for tmd. |
panel.violin | This is a panel function that can create a violin plot.
It is typically used in a high-level call to bwplot . |
panel.wireframe | Default panel functions controlling cloud and wireframe displays. |
panel.xyplot | Default panel function for xyplot . |
parallel | Draws conditional scatter plot matrices and parallel
coordinate plots. |
prepanel.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 | These prepanel functions are used as fallback defaults in
various high-level plot functions in lattice . These are rarely useful to
normal users, but may be helpful in developing new
displays. |
prepanel.lmline, prepanel.loess, prepanel.qqmathline | These are predefined prepanel functions available in
lattice . |
prepanel.tmd.default, prepanel.tmd.qqmath | tmd creates Tukey
mean-difference plots from a trellis object returned by xyplot , qq , or qqmath . The prepanel and panel
functions are used as appropriate. The formula method for tmd is provided for convenience and
simply calls tmd on the
object created by calling xyplot on that formula. |
qq | Quantile-quantile plots for comparing two
distributions. |
qqmath | Quantile-quantile plot of a sample and a theoretical
distribution. |
rfs | Plots fitted values and residuals (via qqmath ) on a common scale for any
object that has methods for fitted values and residuals. |
shingle | Function to handle shingle. |
show.settings | Function used to query, display, and modify graphical
parameters for fine control of Trellis displays. Modifications
are made to the settings for the currently active device
only. |
simpleKey | Simple interface to generate a list appropriate for
draw.key . |
simpleTheme | Simple interface to generate a list appropriate as a
theme, typically used as the par.settings argument in a high-level
call. |
splom | Draws conditional scatter plot matrices and parallel
coordinate plots. |
standard.theme | Initialization of a display device with appropriate
graphical parameters. |
strip.custom | Provides a convenient way to obtain new strip functions
that differ from strip.default only in the default
values of certain arguments. |
strip.default | Function that draws the strips by default in Trellis
plots. Users can write their own strip functions, but most
commonly this involves calling strip.default with slightly different
arguments. |
stripplot | Draws strip plots in lattice . |
tmd | tmd creates Tukey
mean-difference plots from a trellis object returned by xyplot , qq , or qqmath . The formula method for tmd is provided for convenience and
simply calls tmd on the
object created by calling xyplot on that formula. |
trellis.currentLayout | Returns a matrix with as many rows and columns as in the
layout of panels in the current plot. |
trellis.device | Initialization of a display device with appropriate
graphical parameters. |
trellis.focus, trellis.grobname | trellis.focus can be
used to move to a particular panel or strip, identified by its
position in the array of panels. |
trellis.last.object | Updates method for objects of class "trellis" and is a way to retrieve the
last printed trellis object
(that was saved). |
trellis.panelArgs | Once a panel or strip is in focus (e.g., by using
trellis.switchFocus ),
trellis.panelArgs can be used
to retrieve the arguments that were available to the panel function at that
position. |
trellis.par.get, trellis.par.set | Functions used to query, display, and modify graphical
parameters for fine control of Trellis displays. Modifications
are made to the settings for the currently active device
only. |
trellis.switchFocus | A convenience function to switch from one viewport to
another, while preserving the current row and column. |
trellis.unfocus | Unsets the focus and makes the top-level viewport the
current viewport. |
trellis.vpname | Returns the name of a viewport. |
which.packet | Returns the combination of levels of the conditioning
variables in the form of a numeric vector as long as the number
of conditioning variables, with each element an integer indexing
the levels of the corresponding variable. |
wireframe | Generic function to draw 3D scatter plots and surfaces.
The "formula" methods do most
of the actual work. |
xscale.components.default,
yscale.components.default | Return a list of the form suitable as the components
argument of axis.default . |
xyplot | Produces conditional scatter plots. |