addpoly | R Documentation |
adds a polygon to a raster layer
addpoly(r, pol, val, plot = TRUE)
r |
raster that represents the landscape |
pol |
coordinates of the polygon |
val |
resistance value, One equals no resistance |
plot |
switch if landscape should be plotted |
returns modified raster layer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.