write.epmGrid {epm}R 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'))



[Package epm version 1.1.2 Index]