step_function: Apply a step function to raster values

View source: R/step_function.R

step_functionR Documentation

Apply a step function to raster values

Description

Reclassify raster values either side of a defined threshold value.

Usage

step_function(rast, threshold, lower_value, upper_value)

Arguments

rast

Raster object

threshold

Numeric. The threshold value.

lower_value

Numeric. The value to set below the threshold.

upper_value

Numeric. The value to set above the threshold.

Value

A raster object


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