read_6400_txt {gasanalyzer}R Documentation

Reads 6400XT text files and creates a tibble with gas-exchange data

Description

The text files stored by the 6400 contain measured and calculated values that are read by this function and formatted in a large tibble for use with R. Constants and metadata are also added as columns. Note that no recalculation of derived variables is performed, although it is possible to so using recalculate() after importing the data.

Usage

read_6400_txt(filename, tz = Sys.timezone())

Arguments

filename

an text file containing 6400XT gas-exchange data.

tz

a character string specifying the timezone for the loaded file. If omitted, the current time zone is used. Invalid values are typically treated as UTC, on some platforms with a warning.

Details

Multiple files can be loaded by calling the function with lapply() or purrr::map() to merge multiple files. In this case, it is important to ensure that the column names will match.

Value

A tibble with gas-exchange data in columns.

See Also

recalculate

Examples

example <- system.file("extdata", "6400-testfile", package = "gasanalyzer")

# read data
li6400data <- read_6400_txt(example)

#View
li6400data


[Package gasanalyzer version 0.4.1 Index]