prepanel.default {lattice}R Documentation

Default Prepanel Functions


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.default.bwplot(x, y, horizontal, nlevels, origin, stack, ...)
prepanel.default.histogram(x, breaks, equal.widths, type, nint, ...)
prepanel.default.qq(x, y, ...)
prepanel.default.xyplot(x, y, type, subscripts, groups, ...), distance,
                       xlim, ylim, zlim,
                       screen = list(z = 40, x = -60),
                       R.mat = diag(4),
                       aspect = c(1, 1), ..., zoom = 0.8)
prepanel.default.levelplot(x, y, subscripts, ...)
prepanel.default.qqmath(x, f.value, distribution, qtype,
                        groups, subscripts, ...)
prepanel.default.densityplot(x, darg, groups, subscripts, ...)
prepanel.default.parallel(x, y, z, ...)
prepanel.default.splom(z, ...)


x, y x and y values, numeric or factor
horizontal logical, applicable when one of the variables is to be treated as categorical (factor or shingle)
nlevels number of levels of such a categorical variable.
origin, stack for barcharts or the type="h" plot type
breaks, equal.widths, type, nint details of histogram calculations. type has a different meaning in prepanel.default.xyplot (see panel.xyplot)
groups, subscripts See xyplot. Whenever appropriate, calculations are done separately for each group and then combined.
perspective, distance, xlim, ylim, zlim, screen, R.mat, aspect, zoom see
f.value, distribution see panel.qqmath
darg list of arguments passed to density
z see panel.parallel and panel.pairs
qtype type of quantile
... other arguments, usually ignored


A list with components xlim, ylim, dx and dy, and possibly xat and yat, the first two being used to calculate panel axes limits, the last two for banking computations. The form of these components are described in the help page for xyplot.


Deepayan Sarkar

See Also

xyplot, banking, Lattice. See documentation of corresponding panel functions for more details about the arguments.

[Package lattice version 0.15-4 Index]