create_raster {SpatialKDE} | R Documentation |
Create raster
Description
Create raster of equally spaced cells. The distance between centre of cells
in both x and y dimension is equal to cell_size
.
Usage
create_raster(geometry, cell_size, side_offset = 0)
Arguments
geometry |
|
cell_size |
|
side_offset |
|
Value
Examples
library(sf)
nc <- st_read(system.file("shape/nc.shp", package = "sf")) %>% st_transform(32031)
raster <- create_raster(nc, cell_size = 100000)
[Package SpatialKDE version 0.8.2 Index]