dv_int2rgb | R Documentation |
DataVolley files use an integer representation of colours. These functions convert to and from hex colour strings as used in R.
dv_int2rgb(z)
dv_rgb2int(x)
z |
integer: vector of integers |
x |
integer: vector of hex colour strings |
Character vector of hex RGB colour strings
dv_int2rgb(c(255, 16711680))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.