create_color_scale_rgba {RIntaros} | R Documentation |
Create a Color Scale
create_color_scale_rgba(res, colors=rg.colors())
res |
Array of real values to be translated into arrays of Red, Green, Blue and Transparency indices |
colors |
Set of colors used for graphic representation |
An array with as many rows as tere are colors in the color scale, and 5 columns:
1: The interval starting value of the variable
2: The index of the Red intensity
3: The index of the Green intensity
4: The index of the Blue intensity
5: The index of the Transparency