smooth_dem: Spatially smooth dem by (window) filtering

View source: R/valley.R

smooth_demR Documentation

Spatially smooth dem by (window) filtering

Description

Spatially smooth dem by (window) filtering

Usage

smooth_dem(dem, method = "median", window = 5)

Arguments

dem

raster data of dem

method

smoothing function to be used, e.g. "median", as accepted by terra::focal()

window

size of smoothing kernel

Value

filtered dem


rcrisp documentation built on Aug. 8, 2025, 6:42 p.m.