View source: R/make.grid.prevR.r
make.grid.prevR | R Documentation |
This function generates a spatial rectangular grid from the slot
boundary
of an object of class prevR
; function used in
particular by the methods kde()
, krige()
and idw()
.
make.grid.prevR(object, nb.cells = 100, cell.size = NULL)
object |
object of class prevR. |
nb.cells |
number of cells on the longest side of the studied area
(unused if |
cell.size |
size of each cell (in the unit of the projection). |
This function generates a spatial rectangular grid, each cell
corresponding to the center of a square of side cell.size
.
If cell.size
is not defined, side of cells will be
calculated as the longest side of the slot boundary
of object
divided by nb.cells
.
Object of class sf::sfc (simple feature geometry list column).
sf::st_make_grid()
make.grid.prevR(fdhs)
make.grid.prevR(fdhs, nb.cells = 200)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.