rnaturalearth
geodata
osmdata
The origin of a raster is the cell corner closest to the coordinates (0, 0)
(0, 0)
origin(elev)
## [1] 0 0
origin(elev_4)
We can also change the origin
origin(elev_4) = c(0.25, 0.25)