paletteIFC: R/IDEAS Color Palette Mapping

View source: R/paletteIFC.R

paletteIFCR Documentation

R/IDEAS Color Palette Mapping

Description

Maps colors between IDEAS and R.

Usage

paletteIFC(
  x = c("", "palette", "palette_R", "to_light", "to_dark")[1],
  col = "White"
)

Arguments

x

either "", "palette","palette_R", to_light, to_dark. Default is "".

col

a compatible color to transform to color or lightModeColor. Default is "White".
if 'x' == to_light, function will convert 'col' to lightModeColor.
if 'x' == to_dark, function will convert 'col' to color.
if 'col' is not found or 'x' is anything else then a data.frame of compatible colors is returned.

Value

IFC palette of available colors.


IFC documentation built on Sept. 14, 2023, 1:08 a.m.