Crop a RasterArray object
The method is inherited from the RasterStack
class.
## S4 method for signature 'RasterArray' crop(x, y, ...)
x |
a |
y |
an xtent object, or any object from which an Extent object can be extracted (see Details) |
... |
arguments passed to the |
A cropped RasterArray
class object.
data(dems) # crop to Australia ext <- extent(c( xmin = 106.58, xmax = 157.82, ymin = -45.23, ymax = 1.14 )) # cropping all DEMS (Australia drifted in) au<- crop(dems, ext)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.