CLUSexample | R Documentation |
From Kyle Lochhead and Tyler Muhly's CLUS road simulation example. SpatRaster
files created with the terra package must be saved with terra::wrap()
and
need to be unwrapped before they are used. prepExData()
does this.
data(CLUSexample)
A named list with components:
cost: a PackedSpatRaster
representing road building cost.
landings: an sf dataframe of points representing landing locations.
roads: a PackedSpatRaster
representing existing roads.
CLUSexample
prepExData(CLUSexample)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.