util_rescale {landscapetools}R Documentation

util_rescale

Description

Linearly rescale element values in a raster to a range between 0 and 1.

Usage

util_rescale(x)

util_rescale(x)

Arguments

x

Raster* object

Details

Rasters generated by nlm_ functions are scaled between 0 and 1 as default, this option can be set to FALSE if needed.

Value

Raster* object with values ranging from 0-1

Examples

unscaled_landscape <- gradient_landscape + fractal_landscape
util_rescale(unscaled_landscape)


[Package landscapetools version 0.5.0 Index]