scale_fill_tt | R Documentation |
To be used in a ggplot, with option discrete
set to TRUE
for discrete values.
See scale_color_tt()
for more.
scale_fill_tt( palette = "main", aesthetics = "fill", discrete = TRUE, reverse = FALSE, nmax = NULL, order = NULL, ... )
palette |
Character name of palette. Run |
aesthetics |
Default to |
discrete |
Boolean indicating whether color aesthetic is discrete or not. |
reverse |
If TRUE, reverse the order of the colors in the color scale. |
nmax |
Maximum number of different colors the palette should contain. If not provided, is calculated automatically from the data. |
order |
Numeric vector listing the order in which the colors should be used. Default is |
... |
Additional arguments passed to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.