Raster*object into a
RasterLayer object into a
worldMatrix object or a
raster2world(raster) # S4 method for RasterLayer raster2world(raster) # S4 method for RasterStack raster2world(raster)
worldArray object depending on the input
Patches value are retained from the
The number of rows and columns, as well as the cell values of the
are kept the same. However, to match the coordinates system and resolution of a
worldArray, the grid is shifted by a 1/2 cell to have
round coordinate values at the center of the patches and patch size is equal to (1,1).
The bottom left corner cell coordinates of the
will be (pxcor = 0, pycor = 0).