as.character.Rd
Create a text representation of (the skeleton of) an object
# S4 method for class 'SpatExtent' as.character(x) # S4 method for class 'SpatRaster' as.character(x)
SpatRaster
character
r <- rast() ext(r) #> SpatExtent : -180, 180, -90, 90 (xmin, xmax, ymin, ymax) ext(c(0, 20, 0, 20)) #> SpatExtent : 0, 20, 0, 20 (xmin, xmax, ymin, ymax)