fastCrop is a wrapper around velox::VeloxRaster_crop, though raster::crop is faster under many tests.

fastCrop(x, y, ...)

Arguments

x

Raster to crop

y

Extent object, or any object from which an Extent object can be extracted (see Details)

...

Additional arguments as for writeRaster

See also