R/notation_key.R

Defines functions notation_key_plot

Documented in notation_key_plot

#' @title notation_key_plot
#' @description Produces some definitions as a grid.
#' @importFrom png readPNG
#' @importFrom grid rasterGrob
#' @export
notation_key_plot <- function() {
  img <- png::readPNG(system.file("img", "notation.png", package="classifierplots"))
  g <- grid::rasterGrob(img, interpolate=TRUE)

  return(g)
}

Try the classifierplots package in your browser

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

classifierplots documentation built on Jan. 13, 2021, 5:23 p.m.