read81xVar: read81xVar

View source: R/dat.R

read81xVarR Documentation

read81xVar

Description

Read a Licor generated .x81 file into a data-frame with guessing initial rows

Usage

read81xVar(fName, sep = "\t", ..., colsTimeStamp = 3, 
    formatTS = NULL, tz = "UTC", na.strings = c("", 
        "NA", "NAN", "\"NAN\""), labelID = "Label:")

Arguments

fName

scalar string: file name file information

sep

column separator

...

further arguments to read.table

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 read.table

labelID

string at the start of lines indicating the label

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 <- read81xVar(fName)
  #plot( CO2 ~ Date, ds )
  #plot( CO2 ~ Date, ds[ds$iChunk == 9,] )
}

bgctw/RespChamberProc documentation built on June 11, 2025, 3:52 p.m.