View source: R/classify_cells_polygon.R
from polygons, copy the first column of data for every cell the cells and grid MUST match, but the polygons can be in any projection Make sure the polygons have the first column as the classifier you want
1 | classify_cells_by_polygon(cells, grid, polygons)
|
cells |
raster cell index |
grid |
raster for the cells |
polygons |
SpatialPolygonsDataFrame |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.