pal.heatmap: Show a palette/colormap with a random heatmap

View source: R/tools.R

pal.heatmapR Documentation

Show a palette/colormap with a random heatmap

Description

Show a palette/colormap with a random heatmap

Usage

pal.heatmap(pal, n = 25, miss = 0.05, main = "")

Arguments

pal

A palette function or a vector of colors.

n

The number of squares vertically in the heatmap.

miss

Fraction of squares with missing values, default .05.

main

Main title

Value

None.

Author(s)

Kevin Wright

References

None

Examples

pal.heatmap(brewer.paired, n=12)
pal.heatmap(coolwarm, n=12)
pal.heatmap(tol, n=12)
pal.heatmap(glasbey, n=32)
pal.heatmap(kelly, n=22, main="kelly", miss=.25)


pals documentation built on Sept. 11, 2024, 5:28 p.m.