addline | R Documentation |
adds a line from x1 to x2 to a raster layer
addline(r, x1, x2, val, plot = FALSE)
r |
raster that represents the landscape |
x1 |
from coordinates |
x2 |
to coordinates |
val |
resistance value 1 is 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.