Learn R Programming

tidywater (version 0.7.0)

calculate_dic: Calculate dissolved inorganic carbon (DIC) from total carbonate

Description

This function takes a water class object defined by define_water and outputs a DIC (mg/L).

Usage

calculate_dic(water)

Value

A numeric value for the calculated DIC.

Arguments

water

a water class object containing columns with all the parameters listed in define_water

See Also

define_water

Examples

Run this code

example_dic <- define_water(8, 15, 200) %>%
  calculate_dic()

Run the code above in your browser using DataLab