geo-registry

terra::terrain

How terra runs Slope: terra::terrain.

About this implementation
Engine terra
Tool name terra::terrain
Interface r
Implements Slope
Preset {"v":"slope"}
Documentation Not stated
Effects modifies input: no, network: no
Notes S4 generic: parameters gathered from all its methods; each method takes a subset.
Status active

Parameters

Name Type Required Default Choices Note
x any yes Not stated Not stated Not stated
... dots no Not stated Not stated further arguments passed on
v any no "slope" Not stated Not stated
neighbors any no 8 Not stated Not stated
unit any no "degrees" Not stated Not stated
filename any no "" Not stated Not stated

How it maps to the operation

Operation parameter Parameter here Note
raster x Not stated
units unit degrees = degrees. not supported: percent. unit is degrees or radians.
z_unit Not stated always crs-units. Elevation must be in the map units, or metres when the CRS is longitude/latitude.

Differences from the operation

  • The same function gives aspect, TPI, TRI, roughness and flow direction (v = "aspect", ...).

Harvested by the r-packages harvester from engine version 1.9.50. Names can change when an engine is harvested again.