writeEot {remote}R Documentation

Write Eot* objects to disk

Description

Write Eot* objects to disk. This is merely a wrapper around writeRaster so see respective help section for details.

Usage

## S4 method for signature 'EotMode'
writeEot(x, path.out = ".", prefix = "remote",
  overwrite = TRUE, ...)

## S4 method for signature 'EotStack'
writeEot(x, path.out = ".", prefix, ...)

Arguments

x

an Eot* object

path.out

the path to the folder to write the files to

prefix

a prefix to be added to the file names (see Details)

overwrite

see writeRaster. Defaults to TRUE in writeEot

...

further arguments passed to writeRaster

Details

writeEot will write the results of either an EotMode or an EotStack to disk. For each mode the following files will be written:

Apart from pred_rsq_sums, all these files are also created for the response domain as resp_*. These will be pasted together with the prefix & the respective mode so that the file names will look like, e.g.:

prefix_mode_n_pred_r.grd

for the RasterLayer of the predictor correlation coefficient of mode n using the standard raster file type (.grd).

Methods (by class)

See Also

writeRaster

Examples

data(vdendool)

nh_modes <- eot(x = vdendool, y = NULL, n = 2, 
                standardised = FALSE, 
                verbose = TRUE)

## write the complete EotStack
writeEot(nh_modes, prefix = "vdendool")

## write only one EotMode
writeEot(nh_modes[[2]], prefix = "vdendool")


[Package remote version 1.2.1 Index]