Show a palette/colormap with a random heatmap

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.

References

None

Author

Kevin Wright

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)