paintmap index

Description Usage Arguments Value

Given a numeric matrix, assign to each cell a color (character) value based on linearly interpolating a given vector of colors.

1 | ```
color_matrix(x, colors = heat.colors(10))
``` |

`x` |
Numeric or logical matrix. |

`colors` |
Character vector of colors. |

Character matrix.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.