ColorPatchColorFun {colorpatch}R Documentation

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

Description

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

Usage

ColorPatchColorFun(palette = "OptimGreenRedLAB")

Arguments

palette

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

Value

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

Examples

fn <- ColorPatchColorFun("OptimBlueYelloLAB")

[Package colorpatch version 0.1.2 Index]