Learn R Programming

geotopbricks (version 1.3.3)

write.vectorized.geotop.recovery: It writes a list object returened by get.geotop.recovery.state as a string vector or in a text file, following *.inpts or Matlab-like syntax.

Description

It writes a list object returened by get.geotop.recovery.state as a string vector or in a text file, following *.inpts or Matlab-like syntax.

Usage

write.vectorized.geotop.recovery(rec, file = NULL,
    header = NULL, overwrite = TRUE, NAflag = -9999,
    matlab.syntax = TRUE, ...)

Arguments

rec
a list object returened by get.geotop.recovery.state
file
ascii text file name whrere to write the string vector
header
character string vector for header text lines. If missing, a default header is written. Default is c("! header") or he one assigned by matlab.syntax.
overwrite
logical. Default is TRUE, see writeRaster.
NAflag
numeric. Default is -9999, see writeRasterxGEOtop.
matlab.syntax
logical value. Default is TRUE. If TRUE the file syntax is like the one of a *.m Matlab script file.
...
further aguments inserted as attribute

Value

  • a string vector containg the rec variables.

See Also

get.geotop.recovery.state,set.geotop.recovery.state,write.vectorized.variable.in.string

Examples

Run this code
# See the examples of the 'get.geotop.recovery.state' function

Run the code above in your browser using DataLab