cv03_usl_unification {CleaningValidation}R Documentation

Unify USL Percentages for Specified Residue

Description

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.

Usage

cv03_usl_unification(data, cleaning_event_col, residue_col, usl_col)

Arguments

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.

Value

A dataframe with original data and additional columns for residue percentages, and their mean and median values per cleaning event and overall.

Author(s)

Chan, Mohamed, Lou, Wendy, Yang, Xiande [xiande.yang at gmail.com]

Examples

cv03_usl_unification(data = Eq_DAR, cleaning_event_col = "CleaningEvent", 
residue_col = "DAR", usl_col = "USL")

[Package CleaningValidation version 1.0 Index]