min_max_normalize: Raster min-max normalization

View source: R/min_max_normalize.R

min_max_normalizeR Documentation

Raster min-max normalization

Description

Performs a min-max normalization on a raster object.

Usage

min_max_normalize(rast, outfile)

Arguments

rast

Raster object.

outfile

Character. Output raster file path. If not specified, the resulting RasterLayer will be returned to R. Directory will be created recursively if required.

Value

A normalised RasterLayer will be written to outfile if specified, and returned to R otherwise.


jscamac/edmaps documentation built on June 11, 2022, 1:26 a.m.