Description Usage Arguments Details Value Examples
Linearly rescale element values in a raster to a range between 0 and 1.
1 2 3 | util_rescale(x)
util_rescale(x)
|
x |
Raster* object |
Rasters generated by nlm_
functions are scaled between 0 and 1 as default, this option can be set to FALSE
if needed.
Raster* object with values ranging from 0-1
1 2 | unscaled_landscape <- gradient_landscape + fractal_landscape
util_rescale(unscaled_landscape)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.