Learn R Programming

seacarb (version 2.0.6)

pHconv: Conversion factors to change pH scale

Description

Conversion factors from the total scale to the free and seawater scales

Usage

pHconv(S=35,T=25, P=0)

Arguments

S
Salinity, default is 35
T
Temperature in degrees Celsius, default is 25oC
P
Hydrostatic pressure in bar (surface = 0), default is 0

Value

  • The function returns a list with 3 conversion factors :
  • pHtotal2SWSto convert from the total scale to seawater scale
  • pHtotal2freeto convert from the total scale to the free scale
  • pHfree2SWSto convert from the free scale to the seawater scale

encoding

latin1

References

Dickson, A.G. & F.J. Millero, 1987 A comparison of the equilibrium constants for the dissociation of carbonic acid in seawater media. Deep-Sea Research 34:1733-1743.

See Also

kconv.

Examples

Run this code
##To convert pH from the total scale to the seawater and free scales
## (at salinity=35, temperature=25oC and atmospheric pressure):
  pHconv(35, 25, 0)
  conv <- pHconv()
  c(pHtotal=8, pHSWS=8+conv$pHtotal2SWS, pHfree=8+conv$pHtotal2free)

Run the code above in your browser using DataLab