Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

pal.heatmap

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

Color Palettes, Colormaps, and Tools to Evaluate Them

v1.7
GPL-3
Authors
Kevin Wright [aut, cre] (<https://orcid.org/0000-0002-0617-8673>)
Initial release
2021-04-16

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.