colour_matrix: Convert numeric matrix to colour (character) matrix

Description Usage Arguments Value

View source: R/hello.R

Description

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

Usage

1

Arguments

x

Numeric or logical matrix.

colours

Character vector of colours.

Value

Character matrix.


paintmap documentation built on May 29, 2017, 9:48 a.m.