Calculate dissolved CO2 concentration in mol/kg (deprecated)
Source:R/calc_CO2_conc.R
calc_CO2_molKg.RdThis function is deprecated. Please use calc_co2_mol_kg() instead.
Usage
calc_CO2_molKg(
CO2_ppm,
temp_water,
water_depth_m,
atmo_press,
press_units,
salinity = 0,
waterDepth_m = lifecycle::deprecated()
)Examples
# Old:
# calc_CO2_molKg(
# CO2_ppm = 420,
# temp_water = 20,
# water_depth_m = 0.5,
# atmo_press = 101.325,
# press_units = "kPa"
# )
# New:
calc_co2_mol_kg(
co2_ppm = 420,
temp_water = 20,
water_depth_m = 0.5,
atmo_press = 101.325,
press_units = "kPa"
)
#> [1] 1.606735e-05