Description Usage Arguments Details Examples
cividis palette (discrete)
1 2 | cividis_pal(alpha = 1, begin = 0, end = 1, direction = 1,
option = "V")
|
alpha |
pass through parameter to |
begin |
The (corrected) hue in [0,1] at which the cividis colormap begins. |
end |
The (corrected) hue in [0,1] at which the cividis colormap ends. |
direction |
Sets the order of colors in the scale. If 1, the default, colors are ordered from darkest to lightest. If -1, the order of colors is reversed. |
option |
A character string indicating the colormap option to use. So far, there is only one option called "cividis" (or "V"). |
See cividis
for more information on the color scale.
1 2 | library(scales)
show_col(cividis_pal()(10))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.