total_THMs: Calculate the total THMs Calculate the total THMs, equal to...

total_THMsR Documentation

Calculate the total THMs Calculate the total THMs, equal to the sum of bromodichloromethane, bromoform, chlorodibromomethane, chloroform

Description

Calculate the total THMs Calculate the total THMs, equal to the sum of bromodichloromethane, bromoform, chlorodibromomethane, chloroform

Usage

total_THMs(column_names, labdat)

Arguments

column_names

string vector defined in apply_calculations. The desired final columns for each calculated dataframe

labdat

dataframe containing the parsed lab data

Value

dataframe containing all required columns, including the calculated result. Note that the results of determine_NA_NC() are employed, and that parameters for which a value cannot be calculated are assigned NA or NaN, as defined in the function description


biogeochem/bpwtpR documentation built on May 6, 2024, 5:17 p.m.