Calculate dissolved CO2 concentration in mg/L (deprecated)
Source:R/calc_CO2_conc.R
calc_CO2_mgL.RdThis function is deprecated. Please use calc_co2_mg_l() instead.
Usage
calc_CO2_mgL(
CO2_ppm,
temp_water,
water_depth_m,
atmo_press,
press_units,
salinity = 0,
waterDepth_m = lifecycle::deprecated()
)Examples
# Old:
# calc_CO2_mgL(
# CO2_ppm = c(420, 800, 1200),
# temp_water = 20,
# water_depth_m = 0.5,
# atmo_press = 101.325,
# press_units = "kPa"
# )
# New:
calc_co2_mg_l(
co2_ppm = c(420, 800, 1200),
temp_water = 20,
water_depth_m = 0.5,
atmo_press = 101.325,
press_units = "kPa"
)
#> [1] 0.7058479 1.3444723 2.0167084