Learn R Programming

lattice (version 0.3-1)

lattice-Internal: Miscellaneous Functions used within Lattice

Description

These functions are used by various Lattice routines.

Usage

Rows(x, which)
extend.limits(lim, length = 1, prop = 0.07) 
lpretty(lim)
.lattice.print.more
cupdate(index, maxim)
do.breaks(endpoints, nint)
ldrop.levels(x, subset)
compute.layout(...)
construct.scales(...)
limits.and.aspect(...)
trellis.skeleton(...)
prepanel.default.bwplot(...)
prepanel.default.levelplot(x, y, wx, wy, subscripts, ...)
prepanel.default.cloud(distance, xlim, ylim,
        zlim, zoom = 1, rot.mat = rot.mat, 
        aspect = aspect,...)
prepanel.default.densityplot(...)
prepanel.default.histogram(...)
prepanel.default.parallel(...)
prepanel.default.qq(...)
prepanel.default.qqmath(...)
prepanel.default.splom(...)
prepanel.default.tmd(...)
prepanel.default.xyplot(x, y, type, ...)

Arguments

length
desired length of the resulting interval, with center given by the center of lim. Used for relation="sliced".
prop
Proportion by which to extend limits.
x,y
numeric, factor or shingle.
subset
indices to keep.
which
logical ?
lim
length 2 numeric
index
current values of levels
maxim
max values of levels
endpoints
see histogram
nint
see histogram
distance, xlim, ylim, zlim, zoom, rot.mat,aspect
see panel.cloud
wx, wy, subscripts
see panel.levelplot
type
type argument as in panel.xyplot
...
other arguments

synopsis

lpretty(x, ...) construct.scales(draw = TRUE, tck = 1, tick.number = 5, cex = 1, rot = FALSE, at = FALSE, labels = FALSE, col = FALSE, log = FALSE, alternating = TRUE, relation = "same", x = NULL, y = NULL, ...) compute.layout(layout, cond.max.level, skip = FALSE) limits.and.aspect(prepanel.default.function, prepanel = NULL, have.xlim = FALSE, xlim = NULL, have.ylim = FALSE, ylim = NULL, x.relation, y.relation, panel.args.common = list(), panel.args = list(), aspect, nplots, ...) trellis.skeleton(as.table = FALSE, aspect = "fill", between = list(x = 0, y = 0), key = NULL, page = NULL, main = NULL, sub = NULL, par.strip.text = list(), skip = FALSE, strip = strip.default, xlab = NULL, ylab = NULL, panel, ...)

Details

Some of these functions are indigenous, some are counterparts of functions in the S-Plus Trellis Displays library.

lpretty is used instead of pretty (which gives very non-pretty results in some cases, particularly densityplot). banking is a crude banking function used when aspect="xy" in xyplot. It just orders the absolute slopes and returns a value which when adjusted by the panel scale limits will make the median of the above absolute slopes a 45 degree line. (Confused ? see code.)

ldrop.levels returns an object of the same class as x, with the redundant factor/shingle levels dropped, if any. Used to avoid empty panels when using the subset argument.

.lattice.print.more is a global logical to handle the more argument in print.trellis.

See Also

Lattice