myColorRamp {geoelectrics} | R Documentation |
Maps color to resistivity value
Description
Maps color to (resistivity) values. A minimum and maximum value can be specified.
Usage
myColorRamp(col, values, minData = min(values), maxData = max(values))
Arguments
col |
Character vector of colors. |
values |
Numeric vector of values. |
minData |
Minimum value (default min(values)). All smaller values will assigned to the first color in vector col. |
maxData |
Maximum value (default max(values)). All higher values will assigned to the last color in vector col. |
[Package geoelectrics version 0.2.2 Index]