cv10_dunn_test_vs_control {CleaningValidation}R Documentation

Dunn's Test for Residue

Description

Perform Dunn's test for residue based on cleaning events. Choose the control group as the cleaning event whose median is closest to the grand median. This function is for investigation purpose.

Usage

cv10_dunn_test_vs_control(data, residue_col, cleaning_event_col)

Arguments

data

A data frame containing the data.

residue_col

The name of the column containing residue.

cleaning_event_col

The name of the column containing cleaning event identifiers.

Value

A data frame of Dunn's test results with control group.

Author(s)

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

Examples

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

[Package CleaningValidation version 1.0 Index]