pH | R Documentation |
‘pH()' Uses the calculate_closed_system_pH function from Sebastian Kopf’s microbialkitchen R package to calculate pH.
pH( nDIC, VolumeSolution, VolumeHeadspace, temperature, alkalinity, K.CO2HCO3, K.HCO3CO3 )
nDIC |
Moles of dissolved inorganic carbon |
VolumeSolution |
Volume of liquid in the closed system, in liters. |
VolumeHeadspace |
Volume of gaseous head space in the closed system, in liters. |
temperature |
Temperature of the system, in Kelvin. |
alkalinity |
initial alkalinity of the system, in millimolar. |
K.CO2HCO3 |
Equilibrium constant for the dissociation of CO2(aq) to HCO3-(aq). |
K.HCO3CO3 |
Equilibrium constant for the dissociation of HCO3- (aq) to CO3– (aq). |
pH of the solution.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.