Given a numeric matrix, assign to each cell a colour (character) value based on linearly interpolating a given vector of colours.
colour_matrix(x, colours = heat.colors(10))
Numeric or logical matrix.
Character vector of colours.
Questions? Problems? Suggestions? Tweet to @rdrrHQian@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.