Technical details
The application calculates subgroup statistics, estimates within-subgroup sigma from R-bar and d2, and keeps engineering specification limits separate from statistical control limits. Symmetric zone rules are limited to the X-bar chart; the asymmetric R chart uses its calculated limits.
The included dataset models 50 synthetic subgroups of five measurements and intentionally injects special-cause events for demonstration.