Learn R Programming

remote (version 1.2.3)

readEot: Read Eot* files from disk

Description

Read Eot* related files from disk, e.g. for further use with predict() or plot().

Usage

readEot(x, prefix = "remote", suffix = "grd")

Value

An Eot* object.

Arguments

x

character, search path for Eot* related files passed to list.files().

prefix

character, see writeEot() for details. Should be the same as previously supplied to eot().

suffix

character, file extension depending on the output file type of locally stored Eot* files, see raster::writeRaster().

Author

Florian Detsch

See Also

eot(), writeEot(), raster::writeRaster().

Examples

Run this code
if (FALSE) {
## calculate 3 leading modes
data(vdendool)
nh_modes <- eot(x = vdendool, n = 3, standardised = FALSE, 
                write.out = TRUE, path.out = "~/data")
                
## reimport related files
rm(nh_modes)
nh_modes <- readEot("~/data")
nh_modes
}

Run the code above in your browser using DataLab