Description Usage Arguments Details Value Examples
This function returns a sequential red-to-yellow palette of length n
, suitable as a replacement
for grDevices::heat.colors or colorspace::heat_hcl.
1 | heat(n = 10)
|
n |
Number of levels in palette (number of bins). Default: |
Palette characteristics:
perceptually linear
color-blind-safe (under three most common forms of colorblindness) and print friendly
under normal vision: linear lightness, chroma, and hue gradients
under colorblind viewing, linear lightness, smooth chroma, flat hue gradients
character vector. A vector of RGB colors specified as hex color codes (#RRGGBB).
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.