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 movecost_network
plot(
x,
type = c("paths", "density"),
transp = 0.5,
lcp.lwd = 0.3,
node.lab = TRUE,
cex.node.lab = 3,
...
)A ggplot object (draw it by printing; customise it with +).
a movecost_network object.
"paths" (default) or "density".
transparency of the slope-shade overlay (0.5 by default).
line width of the network paths (0.3 by default).
TRUE (default) or FALSE: label each node with its index.
The indices match the row and column names of the returned
cost.matrix, so a node on the map can be related to its entries in
the matrix (reproducing the behaviour of movecost <= 2.x).
size of the node labels (3 by default, in ggplot2 text-size units).
unused.
mc_network