myColorRamp: Maps color to resistivity value

View source: R/myColorRamp.r

myColorRampR 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.


kleebaum/geoelectrics documentation built on Feb. 5, 2023, 5:01 a.m.