This package defines a super simple "grid" object within which raster data
is stored as a matrix. It contains functions for converting between
SpatRaster (see terra::rast
) and grid objects.
This is an offshoot of two older package gridio which worked with ESRI grids and was updated to (gridio2) which contains functions for reading and writing to TIFF files.
Those packages accumulated functions that process grids in various ways, but are difficult to install, contain compiled binaries, and are windows dependent.
gridprocess contains a function (spread) for calculating resistant kernels that I don't believe is available for R elsewhere.
This package contains a pre-compiled windows dll (32 and 64 bit) so currently only works on windows.
Use the code below to install gridprocess github.
devtools::install_github("ethanplunkett/gridprocess")