rasterMinMaxRescale: Min-max normalization (Rescaling)

View source: R/raster_rescale.R

rasterMinMaxRescaleR Documentation

Min-max normalization (Rescaling)

Description

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

Usage

rasterMinMaxRescale(x)

Arguments

x

A RasterLayer object

Value

RasterLayer

Examples

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 July 17, 2025, 3:06 a.m.