Skip to contents

Writes the records of the parent (whole range) and the child (M) as CSV files, their extents and the donor regions as a GeoPackage, and a short README with what to do with them.

Usage

write_truncation_remedy(x, dir, prefix = "nested")

Arguments

x

A truncation_remedy object.

dir

Output folder (created if needed).

prefix

File name prefix.

Value

Invisibly, the paths written.

References

Goicolea, T. et al. (2025) Spatially-nested hierarchical species distribution models to overcome niche truncation in national-scale studies. Ecography 2025, e07328. doi:10.1111/ecog.07328

Examples

# see ?truncation_remedy