Note that breakpoints and colors will be ordered ascendingly by breakpoints values
Usage
colorify_map(colors, breakpoints, ...)
Arguments
- colors
hexcolor character vector
- breakpoints
numeric vector matching colors per value
- ...
to pass arguments to grDevices::colorRamp
Value
function with colors and breaks attributes, can be called as function(c(values)) to return hexcolorcodes