Description Usage Arguments Value
Given a numeric matrix, assign to each cell a colour (character) value based on linearly interpolating a given vector of colours.
1 | colour_matrix(x, colours = heat.colors(10))
|
x |
Numeric or logical matrix. |
colours |
Character vector of colours. |
Character matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.