View source: R/nhSDM_notexported.R
gRasterize | R Documentation |
This is a wrapper around terra::rasterize, used internally in nh_burn and nh_stack.
gRasterize(spf, rast, value = 1, background = NA)
spf |
input sf or sp object |
rast |
terra raster dataset with desired output projection, extent, cell size |
value |
integer value to apply to areas covered by spf |
background |
value to apply to areas not covered by spf |
rast object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.