R/boxGrobs_print.Gmisc_list_of_boxes.R

Defines functions print.Gmisc_list_of_boxes

Documented in print.Gmisc_list_of_boxes

#' Output boxes
#' 
#' Outputs a list of boxes as produced by either the
#' spread or align functions for boxGrobs.
#' 
#' @param x A list of a set of [`boxGrob`]/[`boxPropGrob`] to plot
#' @param ... Ignored argument
#' @export
print.Gmisc_list_of_boxes <- function(x, ...) {
  for (box in x) {
    grid.draw(box)
  }
}

Try the Gmisc package in your browser

Any scripts or data that you put into this service are public.

Gmisc documentation built on Aug. 26, 2023, 1:07 a.m.