How sullivanstatistics/ballast works
ballast is an R package for stress-testing a pre-specified repeated-measures model. The workflow defines or imports an analysis specification, fits the filed analysis, evaluates it under alternative data and analytic assumptions, then summarizes robustness and produces reports. A second major capability simulates planned designs to estimate conventional and robustness power. Relationships below are based on the README’s documented examples; source excerpts were not provided, so implementation-level calls are not verified.
Main entry points: spec.R Analysis specification · plan.R Plan runner · census.R Stress census · design.R Design evaluation
Components 22
Analysis setup
- Analysis specification
R/spec.R - Filed model fit
R/fit.R - Stress plan
R/plan.R - Standard plan
R/standard.R - Plan runner
R/plan.R
Stress testing
- Perturbation families
R/families.R - Stress census
R/census.R - Continuous stress curve
R/curve.R - Tipping-point analysis
R/mi.R - Fragility search
R/fragility.R
Design evaluation
- Trial simulation
R/simulate_rare.R - Design evaluation
R/design.R
Results and reporting
- Robustness verdict
R/direction.R - Census summary
R/census.R - Result plots
R/plots.R - Markdown report
R/deliverables.R - Result tables
R/deliverables.R - Interactive report
R/html.R - Audit log
R/deliverables.R
Other components
- Analyst
- Trial data or fit
- mmrm
Connections 26
- Analyst → Analysis specification: defines or imports
README.md - Trial data or fit → Analysis specification: supplies data
README.md - Analysis specification → Filed model fit: fits baseline
README.md - Filed model fit → mmrm: uses model engine
README.md - Analysis specification → Perturbation families: configures stresses
README.md - Analysis specification → Stress census: anchors census
README.md - Perturbation families → Stress census: supplies alternatives
README.md - Analysis specification → Continuous stress curve: anchors curve
README.md - Analysis specification → Tipping-point analysis: anchors analysis
README.md - Analysis specification → Fragility search: anchors search
README.md - Analysis specification → Standard plan: configures plan
README.md - Analysis specification → Stress plan: configures plan
README.md - Standard plan → Plan runner: runs plan
README.md - Stress plan → Plan runner: runs plan
README.md - Plan runner → Stress census: evaluates stresses
README.md - Plan runner → Markdown report: writes report
README.md - Plan runner → Result tables: writes tables
README.md - Plan runner → Interactive report: writes HTML
README.md - Plan runner → Audit log: writes audit log
README.md - Stress census → Census summary: summarizes rows
README.md - Stress census → Robustness verdict: classifies robustness
README.md - Stress census → Result plots: plots results
README.md - Tipping-point analysis → Result plots: plots p curve
README.md - Analyst → Design evaluation: specifies design
README.md - Design evaluation → Trial simulation: simulates trials
README.md - Design evaluation → Analyst: reports power
README.md