create_discrete_scale | R Documentation |
Create a discrete scale using nish colour scheme.
create_discrete_scale(aes = c("colour", "fill", "linetype"), pal = NULL)
aes |
A character aesthetic. Allowed values are "colour", "fill" and "linetype" (partial matching). |
pal |
A character vector containing the palette. |
A function that returns a discrete scale when called.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.