removal_coag_filt: Calculate removal by coagulation, filtration

removal_coag_filtR Documentation

Calculate removal by coagulation, filtration

Description

Calculate removal by coagulation, filtration. Equal to:

  • percent yield between the raw and Clearwell values if Clearwell values exist

  • percent yield between the raw and PreGAC values if Clearwell values do not exist

Usage

removal_coag_filt(column_names, labdat, parameter, units)

Arguments

column_names

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

labdat

dataframe containing the parsed lab data

parameter

string. Parameter for which to calculate removal by coagulation, filtration. Likely one of: DOC, TOC, Odour

units

string. The possible unit(s) for the parameter of interest

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.