terra (version 1.0-10)

as.character: Create a text representation of (the skeleton of) an object

Description

Create a text representation of (the skeleton of) an object

Usage

# S4 method for SpatExtent
as.character(x, ...)

# S4 method for SpatRaster as.character(x, ...)

Arguments

x

SpatRaster

...

additional arguments. None implemented

Value

character

Examples

Run this code
# NOT RUN {
r <- rast()
ext(r)
ext(c(0, 20, 0, 20))

# }

Run the code above in your browser using DataLab