lattice-Internal {lattice} | R Documentation |
These functions are used by various Lattice routines.
Rows(x, which) extend.limits(lim, length = 1, prop = 0.07) lpretty(lim) calculateAxisComponents(x, at = FALSE, labels = FALSE, logpaste = "", abbreviate = NULL, minlength = 4, format, ...) .lattice.print.more cupdate(index, maxim) do.breaks(endpoints, nint) ldrop.levels(x, subset) compute.layout(...) make.list.from.intervals(x) construct.scales(...) construct.3d.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, ...) is.characterOrExpression(x) rearrangeUnit(x, pos, u) latticeAsFormula(x) generateNewName(names.current, new.prefix)
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. x in
is.characterOrExpression can be an arbitrary S object, in
rearrangeUnit , a grid 'unit' vector.
|
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 |
zoom, rot.mat,aspect |
see panel.cloud |
distance, xlim, ylim, zlim |
see panel.cloud |
wx, wy, subscripts |
see panel.levelplot |
type |
type argument as in panel.xyplot |
pos |
integer |
u |
grid unit object of length 1 |
at, labels, logpaste, abbreviate, minlength, format |
arguments
used in calculateAxisComponents |
names.current, new.prefix |
names to disambiguate and new prefix |
... |
other arguments |
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).
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.
rearrangeUnit
is a hack that emulates x[pos] <- u
calculateAxisComponents
is modified from axis.POSIXct. This
aims to be a general function which given a general 'range' x and
optional at, generates the locations of tick marks and corresponding
labels. Ultimately will be a replacement for lpretty.
Deepayan Sarkar deepayan@stat.wisc.edu