cv071_median_control_chart {CleaningValidation}R Documentation

Median Control Chart

Description

This function creates a control chart for the median residue percentages based on kernel density estimation. The in put residue_pct_meidan_col can be median of non-USL_unified variable such as Mic_Median, DAR_Median, or CAR_Median

Usage

cv071_median_control_chart(data, cleaning_event_col, residue_pct_median_col)

Arguments

data

A data frame containing the data to plot.

cleaning_event_col

The name of the column containing cleaning event identifiers.

residue_pct_median_col

The name of the column containing the calculated median residue percentages.

Value

The meidan control chart.

Author(s)

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

Examples

# Assuming 'Eq_DAR' is a data frame with appropriate columns:
Eq_DAR <- cv03_usl_unification(data = Eq_DAR,  "CleaningEvent",  "DAR",  "USL")
cv07_median_control_chart(data = Eq_DAR, cleaning_event_col = "CleaningEvent", 
residue_pct_median_col="DAR_Pct_Median")

[Package CleaningValidation version 1.0 Index]