scale_color_biotime | R Documentation |
Scale construction for ggplot use
Scale construction for filling in ggplot
scale_color_biotime(palette = "realms", discrete = TRUE, reverse = FALSE, ...)
scale_colour_biotime(palette = "realms", discrete = TRUE, reverse = FALSE, ...)
scale_fill_biotime(palette = "realms", discrete = TRUE, reverse = FALSE, ...)
palette |
One of: 'realms', 'gradient', 'cool', 'warm', default to 'realms'. |
discrete |
See Details. default to 'FALSE' |
reverse |
Default to 'FALSE' |
... |
Passed to |
USAGE NOTE: Remember to change these arguments when plotting colours continuously.
If discrete
is TRUE
, the function returns a colour palette produced by
discrete_scale
and if discrete
is FALSE
, the function
returns a colour palette produced by scale_color_gradient
.
If discrete
is TRUE
, the function returns a colour palette produced by
discrete_scale
and if discrete
is FALSE
, the function
returns a colour palette produced by scale_color_gradient
.
Cher F. Y. Chow
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.