Custom coloring and filling functions based on unique color palettes
Usage
scale_color_discrete_twri(palette = "twri", extend = FALSE, ...)
scale_colour_discrete_twri(palette = "twri", extend = FALSE, ...)
scale_fill_discrete_twri(palette = "twri", extend = FALSE, ...)
scale_color_opinionated_twri(palette = "twri", ...)
scale_colour_opinionated_twri(palette = "twri", extend = FALSE, ...)
scale_fill_opinionated_twri(palette = "twri", ...)
scale_color_diverging_twri(palette = "twri", ...)
scale_colour_diverging_twri(palette = "twri", ...)
scale_fill_diverging_twri(palette = "twri", ...)
scale_color_continuous_twri(palette = "twri", ...)
scale_colour_continuous_twri(palette = "twri", ...)
scale_fill_continuous_twri(palette = "twri", ...)
Arguments
- palette
Name of color palette
- extend
Whether to extend discrete color palette to make sufficient colors for levels needed
- ...
Additional arguments to be passed to internal scale function
Details
Specific functions include:
scale_(color/colour/fill)discrete_twriDiscrete palette with either fixed or dynamically extended number of shades scale(color/colour/fill)opinionated_twriDiscrete palette with specific values for "good", "bad", and "neutral" scale(color/colour/fill)diverging_twriContinuous diverging color palette scale(color/colour/fill)_continuousContinuous color palette