R: Show a palette/colormap with a heatmap

pal.heatmap {pals} | R Documentation

## Show a palette/colormap with a heatmap

### Description

Show a palette/colormap with a 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)

[Package pals version 1.5 Index]