cv03_usl_unification {CleaningValidation} | R Documentation |
This function takes a dataset and computes the percentage of residue over USL for each event, as well as mean and median of these percentages for each cleaning event and overall.
cv03_usl_unification(data, cleaning_event_col, residue_col, usl_col)
data |
A dataframe containing the relevant dataset. |
cleaning_event_col |
Name of the column in 'data' that contains the cleaning event identifiers as a string. |
residue_col |
Name of the column in 'data' that contains the residue measurements as a string. |
usl_col |
Name of the column in 'data' that contains the USL values as a string. |
A dataframe with original data and additional columns for residue percentages, and their mean and median values per cleaning event and overall.
Chan, Mohamed, Lou, Wendy, Yang, Xiande [xiande.yang at gmail.com]
cv03_usl_unification(data = Eq_DAR, cleaning_event_col = "CleaningEvent",
residue_col = "DAR", usl_col = "USL")