Description Usage Arguments Value See Also Examples
Clamp values to a minimum and maximum value. That is, all values below the lower clamp value and above the upper clamp value become NA (or the lower/upper value if useValue=TRUE
)
1 2 3 4 |
x |
RasterLayer, or numeric vector |
lower |
numeric. lowest value |
upper |
numeric. highest value |
useValues |
logical. If |
filename |
character. Filename for the output RasterLayer (optional) |
... |
additional arguments as for |
Raster object
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.