read81x: read81x

View source: R/dat.R

read81xR Documentation

read81x

Description

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

Usage

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

tz

specify a time zone when converting to POSIXct, default: UTC

na.strings

see link{read.table}

labelRowOffset

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

Details

version of readDat with adjusted defaults.

This function is deprecated because its superseeded by the more versatile read81xVar.

Author(s)

Thomas Wutzler, Oscar Perez Priego

Examples

#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,] )
}

bgctw/RespChamberProc documentation built on Jan. 4, 2024, 6:12 a.m.