colour_matrix: Convert numeric matrix to colour (character) matrix

Description Usage Arguments Value

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.



Search within the paintmap package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.