write.epmGrid: Save epmGrid object

View source: R/write.epmGrid.R

write.epmGridR Documentation

Save epmGrid object

Description

Write a epmGrid object to disk.

Usage

write.epmGrid(x, filename)

Arguments

x

object of class epmGrid

filename

filename with no extension

Details

This function writes a .rds file with xz compression. This file can be read back in with read.epmGrid.

Value

Nothing is returned, but object is written to disk.

Author(s)

Pascal Title

Examples

#save
write.epmGrid(tamiasEPM, paste0(tempdir(), '/tamiasEPM'))

# read back in
tamiasEPM <- read.epmGrid(paste0(tempdir(), '/tamiasEPM.rds'))

# delete the file
unlink(paste0(tempdir(), '/tamiasEPM.rds'))



epm documentation built on April 4, 2025, 1:42 a.m.

Related to write.epmGrid in epm...