overall_coag_dose: Calculate the overall coagulant dose

overall_coag_doseR Documentation

Calculate the overall coagulant dose

Description

Calculate the overall coagulant dose, equal to:

  • PACl DAE, if both train values exist

  • (PACl Train X\*2.07)+Alum)/2, if only one train value exists

  • Alum, if neither train value exists

Usage

overall_coag_dose(column_names, labdat, PACl_DAE_values)

Arguments

column_names

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

labdat

dataframe containing the parsed lab data

PACl_DAE_values

numeric vector. The values calculated by PACl_DAE()

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.