Character representation of a Raster or Extent object
Character representation of a Raster or Extent object
as.character returns a text (R code) representation of a Raster* or Extent object. The main purpose of this is to allow quick generation of objects to use in examples on, for example, stackoverflow.com.
## S4 method for signature 'Raster'as.character(x,...)## S4 method for signature 'Extent'as.character(x,...)