shewhartr
1.3.0Statistical Process Control with Tidyverse-Native Workflows
Overview
A comprehensive toolkit for Statistical Process Control (SPC) that combines the rigor of classical Shewhart methodology with modern tidyverse-native interfaces. Provides classical control charts for variables (I-MR, Xbar-R, Xbar-S) and attributes (p, np, c, u), as well as regression-based control charts for processes with trend. Includes Nelson runs tests, Average Run Length (ARL) simulation, process capability indices with bootstrap confidence intervals, Box-Cox transformation guidance, and a clean Phase I / Phase II workflow. All chart objects integrate with broom via 'tidy', 'glance' and 'augment' methods. References: Shewhart (1931, ISBN:0-87389-076-0); Montgomery (2019, ISBN:978-1-119-39930-8); Nelson (1984) doi:10.1080/00224065.1984.11978921; Woodall (2000) doi:10.1080/00224065.2000.11980013; Box & Cox (1964) doi:10.1111/j.2517-6161.1964.tb00553.x.
Install
Health
- OK2026-08-0413 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- NOTE2026-08-0112 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- OK2026-06-0913 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-06-0812 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-05-147 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 77%
- Documented parameters
- 95%
- Return-value docs
- 100%
- References docs
- 51%
Downloads
Repository
Stars over time
Repository practices
6 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/castlaboratory/shewhartr on 2026-08-23.
Show all practices
Development tooling
Uses AI-assisted development tooling (declared in repo)
Earliest detected marker: claude on 2026-05-06
Most recent: claude on 2026-05-06
- claude: on 2026-05-06 · evidence B, D
Dependencies
Nothing depends on this yet.
Code & Tests
Datasets
People & History
1 release. R releases are shown for context.
- 1.3.0Latest2026-05-13 · current release
- RR 4.6.0 released · 2026-04-24
Package metadata
- First published
- 2026-05-13
- Total releases
- 1 / 1 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 4.1.0
- Bundled data
- 7.3 KB / 7 files
- Download size
- 1.1 MB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("shewhartr")This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-08-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.