
## S3 method for class 'Raster':
shift(object, x=0, y=0, filename='', ...)
## S3 method for class 'SpatialPolygons':
shift(object, x=0, y=0, ...)
## S3 method for class 'SpatialLines':
shift(object, x=0, y=0, ...)
## S3 method for class 'SpatialPoints':
shift(object, x=0, y=0, ...)
object
is a Raster* object: additional arguments as for writeRaster
x
flip
, rotate
, and the elide function in the maptools packager <- raster()
r <- shift(r, x=1, y=-1)
Run the code above in your browser using DataLab