powered by
Plot the results of projectRoads()
projectRoads()
plotRoads(sim, mainTitle, subTitle = paste0("Method: ", sim$roadMethod), ...)
Creates a plot using base graphics
sim list result from projectRoads
sim
projectRoads
character. A title for the plot
character. A sub title for the plot, by default the roadMethod is used
roadMethod
Other arguments passed to raster plot call for the weightRaster
weightRaster
CLUSexample <- prepExData(CLUSexample) prRes <- projectRoads(CLUSexample$landings, CLUSexample$cost, CLUSexample$roads) if(interactive()){ plotRoads(prRes, "Title") }
Run the code above in your browser using DataLab