cv07_median_control_chart {CleaningValidation} | R Documentation |
Median Control Chart and Density Plot
Description
This function creates a control chart and a density plot for the median residue percentages based on kernel density estimation.
Usage
cv07_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
A cowplot object containing the combined control chart and density plot.
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]