Convert SpatialPolygons
object to a binary grid. Grid boxes whose
centers are part ofthe SpatialPolygons
are given value 1 and all other
grid boxes are given value 0. Land values are set to NA.
1 | conv_to_grid(x, my_land_mat = land_mat)
|
x |
|
my_land_mat |
binary matrix specifying land locations |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.