RDocumentation
Moon
Learn R
Search all packages and functions
raster (version 2.1-41)
Extent-class: Class "Extent"
Description
Objects of class Extent are used to define the spatial extent (extremes) of objects of the BasicRaster and Raster* classes.
Arguments
Objects from the Class
You can use the
extent
function to create Extent objects, or to extract them from Raster* and Spatial* objects.
See Also
extent
,
setExtent
Examples
Run this code
ext <- extent(-
180
,
180
,-
90
,
90
)
ext
Run the code above in your browser using
DataLab