Data vector (numeric or characters) of arbitrary length
Value
Color vector of the same length of the input data vector
Details
Define the colors to associate a data vector following defined criteria
if d is a character vector with length <20 :="" output="" a="" list="" from="" defined="" colors<="" li="">20>
if d is a character vector with length >20 : output a list from selected rainbowif d is a numeric vector with whatever length: output a list from blu-red scale