View source: R/concCorrections.R
corrConcDilution | R Documentation |
Calculate concentration corrected for dilution with water vapor
corrConcDilution(ds, colConc = "CO2_Avg",
colVapour = "H20_Avg", isUpdateOnNonFiniteVapour = TRUE)
ds |
data frame with each row one observations, and respective columns |
colConc |
column name of CO2 concentration [ppm] |
colVapour |
column name of water vapour concentration [ppt] |
isUpdateOnNonFiniteVapour |
set to FALSE to not correct concentrations for records where vapour is not finite << in the default, the concentration will be NA |
If CO2 concentration is measured per moist air, this function will calculate the concentration\ per dry air.
numeric vector (nrow ds): concentration of CO2 per dry air [ppm]
Thomas Wutzler, Oscar Perez Priego
LI-COR, Application Note 129. The Importance of Water Vapor Measurements and Corrections. LI-COR, Inc., 4421 Superior Street, Lincoln, NE 68504, USA.
#data(chamberLoggerEx1s)
ds <- chamberLoggerEx1s
ds$H20_Avg[1L] <- NA
ds$CO2_dry <- corrConcDilution(ds); head(ds$CO2_dry)
ds$CO2_dry <- corrConcDilution(ds, isUpdateOnNonFiniteVapour=FALSE); head(ds$CO2_dry)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.