Learn R Programming

terra (version 1.7-83)

SpatExtent-class: Class "SpatExtent"

Description

Objects of class SpatExtent are used to define the spatial extent (extremes) of objects of the SpatRaster class.

Arguments

Objects from the Class

You can use the ext function to create SpatExtent objects, or to extract them from a SpatRaster, SpatVector or related objects.

Methods

show

display values of a SpatExtent object

Examples

Run this code
e <- ext(-180, 180, -90, 90)
e

Run the code above in your browser using DataLab