as.character {terra} | R Documentation |
Create a text representation of (the skeleton of) an object
## S4 method for signature 'SpatExtent'
as.character(x)
## S4 method for signature 'SpatRaster'
as.character(x)
x |
SpatRaster |
character
r <- rast()
ext(r)
ext(c(0, 20, 0, 20))