show_colors | R Documentation |
Plotting a vector containing hex encoded or standard R colors. The function will return a plot showing all the colors that are stored in a vector.
show_colors(x)
x |
vector; must contain hex encoded or standard R colors |
plot; showing the colors in an example plot
# show the color palette for colorblind individuals
show_colors(colors_wong)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.