get_btps_factor: Get BTPS Correction factor

Description Usage Arguments Value Examples

View source: R/btps.R

Description

Compute correction factor to convert gas volumes from room temperature saturated to BTPS, assuming that gas was sampled at barometric pressure of 760 mmHg.

Usage

1

Arguments

temp

(Numeric) Room Temperature in celsius when gas was collected.

Value

A numeric factor to convert volume of gas to 37 celsius saturated with water vapor

Examples

1
2
3
4
5
6
# If temp in lookup table, simply use BTPS Correction factor from the table
get_btps_factor(20)
# If temp not in lookup table, use prediction by linear model.
get_btps_factor(20.5)
# Input can be vectorised
get_btps_factor(c(20.5, NA, 21:22))

Lightbridge-KS/rslab documentation built on Feb. 24, 2022, 1:36 a.m.