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

as.character {terra} | R Documentation

## 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 signature 'SpatExtent'
    as.character(x)

    ## S4 method for signature 'SpatRaster'
    as.character(x)

### Arguments

`x` | SpatRaster

### Value

character

### Examples

    r <- rast()
    ext(r)
    ext(c(0, 20, 0, 20))

[Package terra version 1.3-22 Index]