ColorPatchColorFun: Creates a color function mapping (ratio, conf) tuples to a...

Description Usage Arguments Value Examples

View source: R/colorpatch_impl.R

Description

Creates a color function mapping (ratio, conf) tuples to a single color

Usage

1
ColorPatchColorFun(palette = "OptimGreenRedLAB")

Arguments

palette

name of the palette (see data()) - defaults to "OptimGreenRedLAB"

Value

A function mapping (ratio, conf) to a color.

Examples

1
fn <- ColorPatchColorFun("OptimBlueYelloLAB")

colorpatch documentation built on May 1, 2019, 10:28 p.m.