CLUSexample: Data from the CLUS example

CLUSexampleR Documentation

Data from the CLUS example

Description

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.

Usage

data(CLUSexample)

Format

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.

Examples

CLUSexample
prepExData(CLUSexample)

roads documentation built on June 27, 2024, 5:07 p.m.