read_6800_equations {gasanalyzer}R Documentation

Read gas-exchange equations directly from 6800 xlsx files.

Description

It is recommended to use create_equations() for recalculating gas-exchange data, but under some conditions, it may be useful to apply exactly the same equations as used in the xlsx data file.

Usage

read_6800_equations(filename)

Arguments

filename

an xlsx file containing 6800 gas-exchange data

Details

Currently, this only works for xlsx files stored by the 6800. this function extracts xlsx formulas from the file and stores them in a list for use by the recalculate() function. Note there is no guarantee that the extracted equations work on any other data files. Since newer versions of the 6800 firmware allows defining custom equations, it is not guaranteed that all equations can be extracted successfully.

Value

A list of gas-equations.

In principle, this can be made to work for the 6400 as well, but since that instrument uses a variation of the older xls format, it is hard to get working in practice.

See Also

create_equations()

Examples

example <- system.file("extdata", "lowo2.xlsx", package = "gasanalyzer")

# get equations stored in the xlsx file
Eqs <- read_6800_equations(example)

#Inpect how stomatal conductance is calculated:
Eqs$GasEx.gsw

[Package gasanalyzer version 0.4.1 Index]