rasterMinMaxRescale: Min-max normalization (Rescaling)

Description Usage Arguments Value Examples

View source: R/raster_rescale.R

Description

Rescale a raster values in the range from 0 to 1 using min-max normalization.

Usage

1

Arguments

x

A RasterLayer object

Value

RasterLayer

Examples

1
2
3
r <- raster::raster(system.file("extdata/elev_12_5m.tif", package="runout.opt"))
r_minmax <- rasterMinMaxRescale(r)
raster::plot(r_minmax)

jngtz/runout.opt documentation built on Sept. 8, 2021, 2:15 p.m.