R/make_image_from_plot.R

Defines functions make_image_from_plot

Documented in make_image_from_plot

#' Title
#'
#' @param plot
#'
#' @return
#' @export
#'
#' @examples
make_image_from_plot <- function(plot) {
  img <- image_graph()
  print(plot)
  dev.off()

  return(img)
}
Patrick01/ptrick documentation built on Feb. 12, 2022, 11:19 p.m.