rs_reclass: Reclassify a raster object

View source: R/gis.R

rs_reclassR Documentation

Reclassify a raster object

Description

Divide values of a raster object into bins of a given width.

Usage

rs_reclass(x, binwidth = 100, right = FALSE, col_name = "zone", ...)

Arguments

x

A raster object.

binwidth

The width of the bins.

right

Should bin intervals be closed on the right? See terra::classify() for details.

col_name

Name of the classified variable.

...

Other arguments passed to terra::classify().


arnaudgallou/toolkit documentation built on Nov. 25, 2022, 5:42 p.m.