man-roxygen/color_spec_from_matrix.R

#' @details
#' The first argument can also be a data.frame or a matrix. In that case, its columns are considered as the color components, taken in order, and the other color components arguments are ignored.
#'
#' When separate arguments are used for the color components and are vectors, values in shorter arguments are recycled to match the length of the longest argument. If the lengths are not compatible, an error is output.
#'
jiho/chroma documentation built on Nov. 26, 2022, 2:39 a.m.