val2hex: Convert a value [0,1] into a hex code

Description Usage Arguments

Description

Convert a value [0,1] into a hex code. Useful for obtaining a transparency code based on a floating point number.

Usage

1

Arguments

x

a number or a vector of numbers to convert into hex.


tkonopka/Rpipelines documentation built on May 31, 2019, 3:46 p.m.