powered by
Linearly rescale element values in a raster to a range between 0 and 1.
util_rescale(x)util_rescale(x)
util_rescale(x)
Raster* object
Raster* object with values ranging from 0-1
Rasters generated by nlm_ functions are scaled between 0 and 1 as default, this option can be set to FALSE if needed.
nlm_
FALSE
# NOT RUN { unscaled_landscape <- gradient_landscape + fractal_landscape util_rescale(unscaled_landscape) # }
Run the code above in your browser using DataLab