plotRoads | R Documentation |
Plot the results of projectRoads()
plotRoads(sim, mainTitle, subTitle = paste0("Method: ", sim$roadMethod), ...)
sim |
|
mainTitle |
character. A title for the plot |
subTitle |
character. A sub title for the plot, by default the |
... |
Other arguments passed to raster plot call for the |
Creates a plot using base graphics
CLUSexample <- prepExData(CLUSexample)
prRes <- projectRoads(CLUSexample$landings, CLUSexample$cost, CLUSexample$roads)
if(interactive()){
plotRoads(prRes, "Title")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.