Learn R Programming

seacarb (version 1.2.1)

phinsi: pH at in situ temperature

Description

pH at in situ temperature

Usage

phinsi(PH=8.2, ALK=2.4e-3, Tinsi=20, Tlab=25, S=35, k1k2='r', phflag=0)

Arguments

PH
pH measured in the laboratory
ALK
ALK, total alkalinity (mol/kg)
Tinsi
In situ temperature in degrees Celsius
Tlab
Measurement temperature in degrees Celsius
S
Salinity
k1k2
"r" for using K1 and K2 from Roy et al. and "m" for using K1 and K2 from Mehrbach,
phflag
The pH scale is either the total scale (0) or the free scale (1), default is 0

Value

  • pHpH at in situ temperature

encoding

latin1

References

Hunter K. A., 1998. The temperature dependence of pH in surface seawater. Deep-Sea Research (Part I, Oceanographic Research Papers) 45(11):1919-1930.

Examples

Run this code
phinsi(8.2,2.4e-3,25,25,35,"r",0)

Run the code above in your browser using DataLab