Analysis results loaded in tibble format can be overlayed with the project's raster mask layer with this function
1 2 | make_raster_from_tibble(tbl, ref_raster, ref_idx, variable = NULL,
write_path = NULL, and_return = FALSE)
|
tbl |
Result tibble |
ref_raster |
The reference mask raster layer (Stored as 'mask_ugke.tif'
on the hard drive). |
ref_idx |
Logical vector that defines the raster cells of the raster
layer to which result values should be assigned (Stored as
'has_value_mask.rds' on the hard drive). |
variable |
(Optional) Character vector to define the variables in the
tibble that should be converted to a raster layer. If |
write_path |
(Optional) Character string to defie the path where the
raster layers should be written as GeoTiffs. If |
and_return |
(Optional) Logical. If |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.