trimramp | R Documentation |
Modify the minimum and maximum values in a calibramp
-class object produced by the expand
function.
trimramp(x, low = NULL, high = NULL)
x |
A calibrated color ramp (e.g. |
low |
A single |
high |
A single |
A trimmed version of x
, another calibramp
-class object.
data(paleomap)
trimmed <- trimramp(paleomap, low=-500, high=1500)
plot(trimmed)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.