powered by
origin(x)
ncell
coordinates
r <- raster(xmn=-0.5, xmx = 9.5, ncols=10) origin(r)
Run the code above in your browser using DataLab