util_rescale: util_rescale

Description Usage Arguments Details Value Examples

Description

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

Usage

1
2
3

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

1
2
unscaled_landscape <- gradient_landscape + fractal_landscape
util_rescale(unscaled_landscape)

landscapetools documentation built on May 1, 2019, 9:22 p.m.