glasbey | R Documentation |
Retrieve one or more of Glasbey et al 256 color specifications as hex, rgb triplets or a data.frame
glasbey(index, ...)
index |
a vector of indices to retrieve if missing then all 256 are returned |
... |
further arguments for |
color values in the form specified
a character vector of hexidecimal strings, this is the default
a 3-column matrix of red, green and blue values
a 4 column data frame, see GLASBEYLUT
plot(1:10, pch = 19, col = glasbey(11:20))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.