Skip to contents

Saves an interpElections_result object to an RDS file, handling non-serializable components (e.g., SpatRaster from terra).

Usage

save_interpolation(result, path, compress = TRUE)

Arguments

result

An interpElections_result object.

path

Character. File path to save to (typically .rds).

compress

Logical or character. Compression argument passed to saveRDS(). Default: TRUE.

Value

The file path (invisibly).