R/tradeOffTable.R

Defines functions tradeOffTable

Documented in tradeOffTable

# (c) Kevin Dunn, 2018.

if (!requireNamespace("png", quietly = TRUE)) {
  stop(paste0("Package \"png\" is essential for this function to work. ",
              "Please install it."), call. = FALSE)
}

tradeOffTable <- function(){
  plot.new()
  img <- png::readPNG(system.file("trade-off-table.png", package = "pid"))
  grid::grid.raster(img)
}

Try the pid package in your browser

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

pid documentation built on Nov. 24, 2018, 1:03 a.m.