fWriteDataframeToFile: fWriteDataframeToFile

Description Usage Arguments Details Value Author(s) Examples

Description

Write data frame to ASCII tab-separated text file

Usage

1
2
fWriteDataframeToFile(Data.F, FileName.s, Dir.s = "", 
    Digits.n = 5)

Arguments

Data.F

Data frame

FileName.s

File base name as a string

Dir.s

Directory as a string

Digits.n

(integer) number of digits, i.e. precision, for numeric values

Details

Missing values are flagged as -9999.0

Value

Output of data frame written to file of specified type.

Author(s)

AMM, KS (Department for Biogeochemical Integration at MPI-BGC, Jena, Germany)

Examples

1
2
3
4
5
if( FALSE ) { #Do not always execute example code (e.g. on package installation)
  Dir.s <- paste(system.file(package='REddyProc'), 'examples', sep='/')
  EddyData.F <- fLoadTXTIntoDataframe('Example_DETha98.txt', Dir.s)
  fWriteDataframeToFile(EddyData.F, 'OutputTest.txt', 'out')
}

REddyProc documentation built on May 2, 2019, 5:19 p.m.