as.hexcol | R Documentation |
Convert numbers and R colour strings into corresponding hex codes for colours
as.hexcol(x)
x |
the colour value(s) to be converted to hex values. |
hex codes for colours
as.hexcol(c(1, 2, 3))
as.hexcol(c("red", "black", "green"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.