R/lattice.R

Defines functions panel_blank layers lattice

#' @export
lattice <- function(x, data = NULL, col.regions, ..., panel = panel_blank) {
    levelplot(x, data, col.regions = col.regions, ..., panel = panel)
}

#' @importFrom latticeExtra layer
layer <- layer

#' @export
layers <- function(...) {
    Reduce(latticeExtra:::`+.trellis`, list(...))
}

#' @export
#' @keywords internal
panel_blank <- function(x, y, z, ...) {}
rpkgs/lattice.layers documentation built on March 31, 2024, 5:06 p.m.