Description Usage Arguments Value Examples
View source: R/morandi_colors.R
DIY your own morandi palette
1 | morandi_diy(my_colors, n, type = c("discrete", "continuous"))
|
my_colors |
a numeric vector |
n |
number of colors |
type |
"discrete" or "continuous" |
a color vector
1 2 | x <- c(3, 6, 9, 18, 56)
my_diy_colors <- morandi_diy(my_colors = x, type = c("discrete"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.