resolution

0th

Percentile

Resolution

Get resolution properties of a Raster* object

Keywords
spatial
Usage
xres(object)
yres(object)
res(object)
res(object) <- value
Arguments
object
Raster* object
value
depends on context. Can be row or column number or resolution
Value

  • A single numeric value or two numeric values.

See Also

extent, dimensions

Aliases
  • xres
  • yres
  • res
  • res<-
Examples
r <- raster(ncol=18, nrow=18)
xres(r)
yres(r)
res(r)

res(r) <- 1/120
# set yres diffrently
res(r) <- c(1/120, 1/60)
Documentation reproduced from package raster, version 1.6-19, License: GPL (>= 3)

Community examples

Looks like there are no examples yet.