R: Seawater Carbonate Chemistry

# Seawater Carbonate Chemistry

## Documentation for package ‘seacarb’ version 3.1.1

- DESCRIPTION file.

## Help Pages

alkalinity | Example data file for function at
amp | pH value of the AMP buffer
at | Calculates total alkalinity from potentiometric titration data
bjerrum | Bjerrum plot
bor | Total boron concentration (mol/kg)
buffer | Buffer parameters of the seawater carbonate system
buffesm | Buffer capacities of the seawater carbonate system as defined by Egleston et al. (2010)
carb | Parameters of the seawater carbonate system
carbb | Parameters of the seawater carbonate system
d2p | Converts depth in meters to pressure in dbar
derivnum | Numerical derivatives of seawater carbonate system variables
errors | Error propagation for computed marine carbonate system variables
f2pCO2 | Converts the CO2 fugacity to CO2 partial pressure
K0 | Henry's constant mol/(kg/atm)
K1 | First dissociation constant of carbonic acid (mol/kg)
K1p | First dissociation constant of phosphoric acid (mol/kg)
K2 | Second dissociation constant of carbonic acid (mol/kg)
K2p | Second dissociation constant of phosphoric acid (mol/kg)
K3p | Third dissociation constant of phosphoric acid (mol/kg)
Kb | Dissociation constant of boric acid (mol/kg)
kconv | Conversion factors to change the pH scale of dissociation constants
Kf | Equilibrium constant of hydrogen fluoride (mol/kg)
kfg | variable for internal use
Khs | Dissociation constant of hydrogen sulfide (mol/kg)
Kn | Dissociation constant of ammonium (mol/kg)
Ks | Stability constant of hydrogen sulfate (mol/kg)
Ksi | Dissociation constant of Si(OH)4
Kspa | Solubility product of aragonite (mol/kg)
Kspc | Solubility product of calcite (mol/kg)
Kw | Ion product of water (mol2/kg2)
oa | Perturbation of the seawater carbonate system
Om | Carbonate saturation state for magnesian calcites
p2d | Converts pressure in dbar to depth in meters
p2fCO2 | Converts pCO2 (partial pressure in CO2) into fCO2 (fugacity of CO2)
p2xCO2 | Converts partial pressure of CO2 to mole fraction of CO2
pCa | pCa
Pcoeffs | Coefficients used for pressure-correcting the equilibrium constants
Pcorrect | Pressure correction of equilibrium constants
pgas | pgas
pH | Potentiometric pH
pHconv | Conversion of pH
pHinsi | pH at in situ temperature
pHslope | Slope of the calibration curve of a pH electrode
pmix | pmix
ppH | ppH
psi | Molar ratio of CO2 released vs CaCO3 precipitated
pTA | pTA
rho | Density of seawater (kg/m3)
seacarb_test_P0 | Test data file (at P=0) to test the use of the carb function
seacarb_test_P300 | Test data file (at P=300) to test the use of the carb function
speciation | ionic forms as a function of pH
theta | Potential temperature of seawater
tris | pH value of the TRIS buffer
vapress | Computes vapor pressure of seawater
x2pCO2 | Converts mole fraction to partial pressure of CO2