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, ...) {}
kongdd/latticeGrob documentation built on March 30, 2024, 3:35 a.m.