panel
, strip
and
axis
functions.current.row()
current.column()
panel.number()
packet.number()
which.packet()trellis.currentLayout(which = c("packet", "panel"))
trellis.currentLayout
returns a matrix with as many rows and
columns as in the layout of panels in the current plot. Entries in
the matrix are integer indices indicating which packet (or panel; see
below) occupies that position, with 0 indicating the absence of a
panel. current.row
and current.column
return integer
indices specifying which row and column in the layout are currently
active. panel.number
returns an integer counting which panel
is being drawn (starting from 1 for the first panel, a.k.a. the panel
order). packet.number
gives the packet number according to the
packet order, which is determined by varying the first conditioning
variable the fastest, then the second, and so on. 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.Lattice
, xyplot