Learn R Programming

glow (version 0.13.0)

light_heat_colors: light_heat_colors

Description

A light color palette.

Usage

light_heat_colors(...)

Value

A light color palette function

Arguments

...

Arguments passed to the function returned by `colorRampPalette`

Details

A simple light color palette gradient from red to orange to gold to yellow intended for a heatmap with a white or light color background.

Equivalent to `colorRampPalette(c("red", "darkorange2", "darkgoldenrod1", "gold1", "yellow2"))(...)`.

Examples

Run this code
light_colors <- light_heat_colors(144)
plot(1:144, 1:144, col = light_colors, pch = 19)

Run the code above in your browser using DataLab