read81x: read81x

Description Usage Arguments Details Author(s) Examples

View source: R/dat.R

Description

Read a Licor generated .x81 file into a data-frame

Usage

1
2
3
read81x(fName, nRowsFileInfo = 23, sep = "\t", ..., 
    colsTimeStamp = 3, formatTS = NULL, tz = "UTC", 
    na.strings = c("", "NA", "NAN", "\"NAN\""), labelRowOffset = -16)

Arguments

fName

scalar string: file name

nRowsFileInfo

scalar integer: number of lines of initial file information

sep

column separator

...

further arguments to readDat

colsTimeStamp

integer vector: colums with time stamp column (will be set to POSIXct

formatTS

format of the timestamp columns, see strptime, e.g.

tz

specify a time zone when converting to POSIXct, default: current local e.g CET, UTC

na.strings
labelRowOffset

the row offset, usually before concentration measurements to generate column label

Details

version of readDat with adjusted defaults

Author(s)

Thomas Wutzler, Oscar Perez Priego

Examples

1
2
3
4
5
6
7
8
#fName <- "inst/genData/Flux2_140929_1700.81x"
#fName <- "inst/genData/Flux2_140929_1700.81x"
fName <- system.file("genData/Flux2_140929_1700.81x", package = "RespChamberProc")
if( nzchar(fName) ){
	ds <- read81x(fName)
	#plot( CO2 ~ Date, ds )
	#plot( CO2 ~ Date, ds[ds$iChunk==9,] )
}

RespChamberProc documentation built on June 23, 2017, 3 p.m.