Returns Henry's constant for gas of interest

calc_kH(t, gas = "CO2")

Arguments

t

numeric; temperature in °C

gas

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

Value

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

Details

Currently supported gases:

  • CO2

  • CH4

Examples

watertemperature <- rnorm(5, mean = 20) calc_kH(watertemperature)
#> [1] 0.04008492 0.03786471 0.03886059 0.03847592 0.04091080
calc_kH(watertemperature, "ch4")
#> [1] 0.001450813 0.001396734 0.001421119 0.001411725 0.001470673