Create a text representation of (the skeleton of) an object
# S4 method for SpatExtent
as.character(x)# S4 method for SpatRaster
as.character(x)
character
SpatRaster
r <- rast()
ext(r)
ext(c(0, 20, 0, 20))
Run the code above in your browser using DataLab