cv09_kw_test {CleaningValidation}R Documentation

Kruskal-Wallis Test for Residue Percentages

Description

Perform Kruskal-Wallis test for residue percentages based on cleaning events.

Usage

cv09_kw_test(data, residue_col, cleaning_event_col)

Arguments

data

A data frame containing the data.

residue_col

The name of the column containing residue percentages.

cleaning_event_col

The name of the column containing cleaning event identifiers.

Value

A data frame of Kruskal-Wallis test results.

Author(s)

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

Examples

# Assuming 'Eq_DAR' is the data frame, 'DAR_Pct' is the residue column, 
# and 'CleaningEvent' is the cleaning event column.
Eq_DAR <- cv01_dfclean(data=Eq_DAR, cleaning_event_col="CleaningEvent", 
residue_col="DAR", usl_col="USL" ) 
Eq_DAR <- cv03_usl_unification(data=Eq_DAR, cleaning_event_col="CleaningEvent", 
residue_col="DAR", usl_col="USL")
kw_test_results <- cv09_kw_test(data = Eq_DAR, residue_col = "DAR_Pct", 
 cleaning_event_col = "CleaningEvent")

[Package CleaningValidation version 1.0 Index]