Description Usage Arguments Value Examples
use a colour scale from the Royal Free colour pallete for 'colour' attributes
1 2 | rfl_scale_colour(palette = "main", discrete = TRUE, reverse = FALSE,
...)
|
discrete |
A logical to set a discrete or coninuious colour scale |
reverse |
A logical to reverse the colour scale |
pallete |
A string denoting the pallete to use, options "main", "bright" and "full" |
ggplot2::discrete_scale or scale_color_gradient object
1 2 | geom_line() +
scale_color_rfl("main", reverse=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.