Get the spatial resolution of a spatial object.
Get the spatial resolution of a spatial object.
getRes(x, ...) ## S4 method for signature 'ANY' getRes(x) ## S4 method for signature 'geom' getRes(x) ## S4 method for signature 'Raster' getRes(x) ## S4 method for signature 'matrix' getRes(x)
x |
the object from which to derive the resolution. |
... |
other arguments. |
A vector of two values of the spatial resolution of x
in x and
y dimension.
getRes(x = gtGeoms$grid$continuous) getRes(x = gtRasters$categorical) getRes(x = matrix(0, 3, 5))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.