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

Description Usage Arguments Value Examples

Description

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

Usage

1
2
3
4
5
## S4 method for signature 'SpatExtent'
as.character(x)

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

Arguments

x

SpatRaster

Value

character

Examples

1
2
3
r <- rast()
ext(r)
ext(c(0, 20, 0, 20))

terra documentation built on Oct. 11, 2021, 9:09 a.m.