| plot.movecost_rank | R Documentation |
Returns a ggplot object showing, depending on type, the ranked paths
over the terrain ("map", default), the same paths drawn over the
least-cost corridor between the two locations ("corridor", the
equivalent of movecost <= 2.x's use.corr), or a bubble chart of path
length against rank with bubble size proportional to cost ("chart",
the equivalent of movecost <= 2.x's add.chart). No manual data
assembly is required for any of them.
## S3 method for class 'movecost_rank'
plot(x, type = c("map", "corridor", "chart"), transp = 0.5, lcp.lwd = 0.6, ...)
x |
a |
type |
|
transp |
transparency of the slope-shade overlay (0.5 by default). |
lcp.lwd |
line width of the ranked paths (0.6 by default). |
... |
unused. |
A ggplot object (draw it by printing; customise it with +).
mc_rank
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.