Apply discrete color scale Partial code for this function can be attributed to ggthemes.
Source:R/scale_duke_discrete.R
scale_duke_discrete.Rd
Apply discrete color scale Partial code for this function can be attributed to ggthemes.
Usage
scale_duke_discrete(
...,
na.value = "#B5B5B5",
guide = "legend",
aesthetics = c("colour", "color", "fill")
)
Arguments
- ...
Arguments passed on to
discrete_scale
.- na.value
Color used for NA values
- guide
the name used to create the guide. See
guides
for more info.- aesthetics
String or vector of strings detailing what aesthetic features this disrete scale can apply to.