get_color | R Documentation |
Get predefined colors
get_color(name, fill = FALSE, fill_color = "#DDDDDD", fill_n = 10)
name |
Name of color/color-vector |
fill |
Fill color vector? |
fill_color |
Color to use to fill color vector |
fill_n |
Number of color codes to return |
Vector of color-codes
get_color("mario")
get_color("mario")
show_color(get_color("mario"))
show_color(get_color("mario", fill = TRUE, fill_n = 10))
col <- get_color("mario")
explore(iris, Sepal.Length, target = Species,
color = col)
explore(iris, Sepal.Length, target = Species,
color = c(col["peach"], col["bowser"], col["donkeykong"]))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.