geo-registry

terra::crop

How terra runs Clip: terra::crop.

About this implementation
Engine terra
Tool name terra::crop
Interface r
Implements Clip
Variant of terra-crop
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
y any yes Not stated Not stated Not stated
... dots no Not stated Not stated further arguments passed on
snap any no "near" Not stated Not stated
mask any no FALSE Not stated Not stated
touches any no TRUE Not stated Not stated
extend any no FALSE Not stated Not stated
filename any no "" Not stated Not stated
ext any no FALSE Not stated Not stated

How it maps to the operation

Operation parameter Parameter here Note
layer x Not stated
mask y Not stated

Differences from the operation

  • Keeps only x's attributes; y can also be an extent.

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