heat: A sequential color palette for heatmaps.

Description Usage Arguments Details Value Examples

View source: R/heat.R

Description

This function returns a sequential red-to-yellow palette of length n, suitable as a replacement for grDevices::heat.colors or colorspace::heat_hcl.

Usage

1
heat(n = 10)

Arguments

n

Number of levels in palette (number of bins). Default: n = 10.

Details

Palette characteristics:

Value

character vector. A vector of RGB colors specified as hex color codes (#RRGGBB).

Examples

1

allopole/datacolor documentation built on May 4, 2019, 6:39 p.m.