| plot.movecost_alloc | R Documentation |
Returns a ggplot object showing the cost-allocation zones (one colour per origin), with the origins and, optionally, the isolines of the minimum accumulated cost surface.
## S3 method for class 'movecost_alloc'
plot(
x,
isolines = FALSE,
transp = 0.5,
iso.col = "white",
iso.lwd = 0.3,
origin.lab = TRUE,
cex.origin.lab = 3,
...
)
x |
a |
isolines |
TRUE or FALSE (default): overlay the cost isolines. |
transp |
transparency of the slope-shade overlay (0.5 by default). |
iso.col |
colour of the isolines (default |
iso.lwd |
line width of the isolines (0.3 by default). |
origin.lab |
TRUE (default) or FALSE: label each origin with its index.
The indices match the zone identifiers (the cell values of the allocation
raster and the |
cex.origin.lab |
size of the origin labels (3 by default, in ggplot2 text-size units). |
... |
unused. |
A ggplot object (draw it by printing; customise it with +).
mc_alloc
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.