Description Usage Arguments See Also
View source: R/helperFunctions.R
Make a colour palette moving from Yellow to Red to Purple.
1 | MakeColorYRP(colby = 0.05, final = NULL)
|
colby |
The step size of the difference between successive colours. Each colour transition is characterised by moving one or move RGB colours from 0 to 1 (or vice versa) in steps of colby. Default: 0.05 |
final |
A colour to place at the end, expressed as an RGB numeric vector. Default: NULL, meaning place no additional colour at the end. |
MakeColorRYWGB, MakeColorWYRPB
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.