cv08_variability_chart {CleaningValidation}R Documentation

Variability Chart for Cleaning Events

Description

This function generates a variability chart for cleaning events, showing data points, outliers, and overall statistics like the grand mean and median.

Usage

cv08_variability_chart(data, cleaning_event_col, residue_pct_col, usl_pct_col)

Arguments

data

A data frame containing the data to plot.

cleaning_event_col

Name of the column representing cleaning events (as a string).

residue_pct_col

Name of the column representing residue percentages (as a string).

usl_pct_col

Name of the column representing the upper specification limit percentages (as a string).

Value

A ggplot object representing the variability chart.

Author(s)

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

Examples

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")
cv08_variability_chart(data=Eq_DAR, cleaning_event_col="CleaningEvent", 
residue_pct_col="DAR_Pct", usl_pct_col="USL_Pct")

[Package CleaningValidation version 1.0 Index]