R/color.name.R

Defines functions color.name

Documented in color.name

#' @title Color Name
#' @description Return the name of a color listed given the number.
#'  
#' @param i integer specifying color .
#' 
#' @return character value of 'i' color.
#' 
#' @author Eric Archer \email{eric.archer@@noaa.gov}
#' 
#' @export
#' 
color.name <- function(i) grDevices::colors()[i]
EricArcher/swfscMisc documentation built on April 12, 2024, 4:21 a.m.