calc_kH: Returns Henry's constant for gas of interest

Description Usage Arguments Details Value Examples

View source: R/utility_functions.R

Description

Returns Henry's constant for gas of interest

Usage

1
calc_kH(t, gas = "CO2")

Arguments

t

numeric; temperature in °C

gas

character; Gas to calculate kH for. See 'Details'.

Details

Currently supported gases:

Value

Numeric value of Henry's constant Hcp (mol/(L*atm))

Examples

1
2
3
4
5
watertemperature <- rnorm(5, mean = 20)

calc_kH(watertemperature)

calc_kH(watertemperature, "ch4")

tekknosol/glimmr documentation built on Oct. 3, 2019, 9:05 p.m.