trimramp {rampage} | R Documentation |
Trimming a calibrated color ramp object.
Description
Modify the minimum and maximum values in a calibramp
-class object produced by the expand
function.
Usage
trimramp(x, low = NULL, high = NULL)
Arguments
x |
A calibrated color ramp (e.g. |
low |
A single |
high |
A single |
Value
A trimmed version of x
, another calibramp
-class object.
Examples
data(paleomap)
trimmed <- trimramp(paleomap, low=-500, high=1500)
plot(trimmed)
[Package rampage version 0.2.0 Index]