Description Usage Arguments Value Examples
wrapper of brewer.pal function from RColorBrewer.
1 | brewer.pal(n, name)
|
n |
Number of different colors in the palette, minimum 3, maximum depending on palette. |
name |
A palette name from the lists below. |
A vector of colors.
1 2 3 4 | {
# Plot a colorbar with brewer.pal
mypalette<-brewer.pal(7,"Greens")
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.