R: Seawater Carbonate Chemistry

# Seawater Carbonate Chemistry

## Documentation for package ‘seacarb’ version 3.3.4

- DESCRIPTION file
- Package README

## Help Pages

alkalinity | Example data file for function at
amp | pH value of the AMP buffer
bjerrum | Bjerrum plot
bor | Total boron concentration (mol/kg)
buffer | Buffer parameters of the seawater carbonate system
buffergen | Buffer factors of the seawater carbonate system as defined by Hagens and Middelburg (2016)
buffesm | Buffer capacities of the seawater carbonate system from Egleston et al. (2010), corrected and enhanced
carb | Parameters of the seawater carbonate system
carbb | Parameters of the seawater carbonate system with boron addition
carbfull | Parameters of the seawater carbonate system - extension of carb
d2p | Converts depth in meters to pressure in dbar
derivnum | Numerical derivatives of seawater carbonate system variables
eos2teos_chem | Convert temperature and salinity from EOS-80 to TEOS-10
eos2teos_geo | Convert temperature and salinity from EOS-80 to TEOS-10
errors | Uncertainty propagation for computed marine carbonate system variables
f2pCO2 | Converts the CO2 fugacity to CO2 partial pressure
fCO2insi | fCO2 at in situ temperature
fH | Total activity coefficient for H+
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)
K2si | Second dissociation constant of Si(OH)4
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
pCO2insi | pCO2 at in situ temperature
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 and pressure
pHnbs2sws | Converts pH from NBS to SWS scale
pHslope | Slope of the calibration curve of a pH electrode
pHspec | Calculates pHT from results of spectrophotometric measurements
pHsws2nbs | Converts pH from SWS to NBS scale
pmix | pmix
ppH | ppH
psi | Molar ratio of CO2 released vs CaCO3 precipitated
pTA | pTA
rho | Density of seawater (kg/m3)
sa2sp_chem | From absolute to practical salinity
sa2sp_geo | From absolute to practical salinity
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
seaFET | Test seaFET data file
sf_calc | Calculation of calibrated pH for seaFET sensor
sf_calib | Calibration coefficients for seaFET sensor
sir | Parameters of the seawater carbonate system including the substrate-inhibitor-ratio (SIR)
sir_b | Parameters of the seawater carbonate system with boron addition, including the substrate-inhibitor-ratio (SIR)
sir_full | Parameters of the seawater carbonate system including the substrate-inhibitor-ratio (SIR) - extension of carb
sp2sa_chem | From Practical to absolute salinity
sp2sa_geo | From practical to absolute salinity
speciation | ionic forms as a function of pH
teos2eos_chem | Convert temperature and salinity from TEOS-10 to EOS-80
teos2eos_geo | Convert temperature and salinity from TEOS-10 to EOS-80
theta | Potential temperature of seawater
tris | pH of TRIS buffer
vapress | Computes vapor pressure of seawater
x2pCO2 | Converts mole fraction to partial pressure of CO2