Extent-class.RdObjects of class Extent are used to define the spatial extent (extremes) of objects of the BasicRaster and Raster* classes.
You can use the extent function to create Extent objects, or to extract them from Raster* and Spatial* objects.
xmin:minimum x coordinate
xmax:maximum x coordinate
ymin:minumum y coordinate
ymax:maximum y coordinate
display values of a Extent object
ext <- extent(-180,180,-90,90)
ext
#> class : Extent
#> xmin : -180
#> xmax : 180
#> ymin : -90
#> ymax : 90