Skip to contents

Converts the ud column of an hr_tt_ud_tbl from a wrapped PackedSpatRaster_list to the standard plain list of terra::SpatRaster objects. This is needed after loading a file created with hr_tt_ud_saveRDS(). Functions that operate on hr_tt_ud_tbl objects unwrap their input automatically, but explicitly unwrapping avoids repeating that work across multiple operations.

Usage

hr_tt_ud_unwrap(x)

hr_ud_unwrap(x)

Arguments

x

An hr_tt_ud_tbl with a ud list-column.

Value

A copy of x with an unwrapped ud column.

Examples

example_kde <- hr_tt_kde(example_tt)
unwrapped_kde <- hr_tt_ud_unwrap(hr_tt_ud_wrap(example_kde))