racircal_advanced {racir}R Documentation

Corrects rapid A/Ci response (RACiR) data from leaves using empty chamber data.

Description

racircal_advanced Interval correction for RACiR data.

Usage

racircal_advanced(
  data,
  caldata,
  mincut,
  maxcut,
  title,
  digits,
  varnames = list(A = "A", Ca = "Ca", CO2_r = "CO2_r", E = "E", gtc = "gtc")
)

Arguments

data

Data frame with the RACiR response data

caldata

Data frame with the calibration data

mincut

Minimum cutoff value for reference CO2 (CO2_r). Used to cut out the data from the initial chamber mixing. Default value is set to the minimum COR_r value.

maxcut

Maximum cutoff value for reference CO2 (CO2_r). Used to cut out the data from the end of the response. Not needed in all cases. Default value is set to the maximum COR_r value.

title

Title of output graph - useful for batch RACiR corrections.

digits

Specifies rounding for groups. Defaults to -2 (100s). Effectively uses 100 ppm intervals (e.g. data matching >50 ppm to 150 ppm would be assigned to an interval centered around 100 ppm for reference CO2).

varnames

Variable names - this allows for the use of this code with other machines and setups where variable names may differ.

Value

racircal_advanced racircalcheck allows visual checking of RACiR calibration data

Examples


#Read in data
data <- read_6800(system.file("extdata", "poplar_2", package = "racir"))
caldata <- read_6800(system.file("extdata", "cal", package = "racir"))
#Correct data
data_corrected <- racircal_advanced(data = data, caldata = caldata,
                                    mincut = 350, maxcut = 780,
                                    digits = -2, title = "Test")



[Package racir version 2.0.0 Index]