Documentation · R (CRAN) & Python (PyPI)

LaTeX-compiled package vignettes.

Each guide below is compiled from live executed capre v0.3.0 code into a self-contained PDF mini-manuscript covering structural causal graph gating, unit-level mediator propagation, effort-isometric coordinate warping, and SuperLearner counterfactual support bounds.

Typeset PDF vignettes and reference documentation
Package Document Topics covered
Python (PyPI) capre-python-guide.pdf ↗ Executed Python user guide: DAGSpec, PriceTable, four-mode proxy ablation, effort-isometric warping, CapreSuperLearner, and Kish ESS.
R (CRAN) capre-getting-started.pdf ↗ knitr Sweave (.Rnw) vignette 1: ICU pressure-injury recourse, Abduct-Act-Predict mediation, warped effort coordinates, and ICER / Net Clinical Benefit.
R (CRAN) capre-superlearner-model-dependence.pdf ↗ knitr Sweave (.Rnw) vignette 2: King & Zeng model dependence, 5-fold capre_superlearner stacking, cubic-spline SCMs, and overlap ESS.
R (CRAN) capre-manual.pdf ↗ LaTeX-compiled Rd2pdf API reference manual covering all exported R functions and arguments.

Quick install from source or archive

# Python (>= 3.10)
pip install capre

# R (>= 4.1)
install.packages("capre")