| plot.movecost_network | R Documentation |
Returns a ggplot object showing either the network of least-cost paths over
the DTM (type = "paths", default) or the path-density raster
(type = "density", available if the network was computed with
density = TRUE).
## S3 method for class 'movecost_network'
plot(
x,
type = c("paths", "density"),
transp = 0.5,
lcp.lwd = 0.3,
node.lab = TRUE,
cex.node.lab = 3,
...
)
x |
a |
type |
"paths" (default) or "density". |
transp |
transparency of the slope-shade overlay (0.5 by default). |
lcp.lwd |
line width of the network paths (0.3 by default). |
node.lab |
TRUE (default) or FALSE: label each node with its index.
The indices match the row and column names of the returned
|
cex.node.lab |
size of the node labels (3 by default, in ggplot2 text-size units). |
... |
unused. |
A ggplot object (draw it by printing; customise it with +).
mc_network
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.