Learn R Programming

roads (version 1.2.0)

prepExData: Prepare example data

Description

Prepare example data included in the package that contain wrapped terra objects. This applies terra::unwrap() recursively to the list provided so that all PackedSpatRasters are converted to SpatRasters.

Usage

prepExData(x)

Value

The same list but with unwrapped SpatRasters

Arguments

x

list. Contains elements some of which are packed SpatRasters.

Examples

Run this code
CLUSexample
prepExData(CLUSexample)

Run the code above in your browser using DataLab