myColorRamp | R Documentation |
Maps color to (resistivity) values. A minimum and maximum value can be specified.
myColorRamp(col, values, minData = min(values), maxData = max(values))
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.