Last data update: 2014.03.03

R: K0_CO2
K0_CO2R Documentation

K0_CO2

Description

PUBLIC function: calculates the Henry's constant (solubility) for CO2

Usage

K0_CO2(S, t)

Arguments

S

salinity in practical salinity units (i.e. no unit)

t

temperature in degrees centigrade

Value

the Henry's constant for CO2 in mol/(kg-solution*atm)

Author(s)

Andreas F. Hofmann (a.hofmann@nioo.knaw.nl)

References

Weiss1974, DOE1994, Millero1995, Zeebe2001

Examples

K0_CO2(35, 15)
plot(K0_CO2(35, 1:25), xlab="temperature / degC")

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(AquaEnv)
Loading required package: minpack.lm
Loading required package: deSolve

Attaching package: 'deSolve'

The following object is masked from 'package:graphics':

    matplot

> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/AquaEnv/K0_CO2.Rd_%03d_medium.png", width=480, height=480)
> ### Name: K0_CO2
> ### Title: K0_CO2
> ### Aliases: K0_CO2
> ### Keywords: misc
> 
> ### ** Examples
> 
> K0_CO2(35, 15)
[1] 0.03745914
attr(,"unit")
[1] "mol/(kg-soln*atm)"
> plot(K0_CO2(35, 1:25), xlab="temperature / degC")
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>