powered by
Get a SpatExtent of a SpatRaster, or coordinates from such an object. Or create a SpatExtent from a vector (length=4; order= xmin, xmax, ymin, ymax)
# S4 method for SpatRaster ext(x, ...) # S4 method for SpatRaster,SpatExtent ext(x)<-value
SpatRaster
SpatExtent
additional arguments. None implemented
SpatExtent or numeric coordinate
# NOT RUN { r <- rast() as.character(r) as.character(ext(r)) # }
Run the code above in your browser using DataLab