R/show.color.R

Defines functions show.color

Documented in show.color

#' Shows a rectangle colored by that color
#'
#' Shows a rectangle colored by that color
#' @param c a valid color
#' @export
show.color <- function(c) {
  plot.new()
  rect(0,0,1,1,col=c)
}
january3/myfuncs documentation built on April 1, 2020, 4:42 a.m.