RougeLM: Data Accompanying the Book "The Rogue's Guide to Linear Models"

Datasets and utilities for teaching linear models in the context of the BetaBit universe (StatPunk). The package provides simulated datasets based on the fictional LifeCalc algorithmic scoring system, illustrating concepts such as simple regression, ANOVA, ANCOVA, hierarchical models, multicollinearity, model selection (AIC, BIC), and regularisation (LASSO, Ridge). Each dataset is accompanied by a narrative context connecting statistical methodology to questions of algorithmic fairness and social consequence.

Version: 1.0.0
Depends: R (≥ 4.1.0)
Imports: ggplot2, patchwork
Suggests: MASS, effectsize, segmented, glmnet, car, emmeans, lme4, testthat (≥ 3.0.0), knitr, rmarkdown, pkgdown
Published: 2026-08-07
DOI: 10.32614/CRAN.package.RougeLM (may not be active yet)
Author: Przemyslaw 'Prem' Biecek [aut, cre], Bit Data [aut], Beta Data [aut]
Maintainer: Przemyslaw 'Prem' Biecek <przemyslaw.biecek at gmail.com>
BugReports: https://github.com/BetaAndBit/RougeLM/issues
License: MIT + file LICENSE
URL: https://github.com/BetaAndBit/RougeLM
NeedsCompilation: no
CRAN checks: RougeLM results

Documentation:

Reference manual: RougeLM.html , RougeLM.pdf
Vignettes: The Story: Equations from District 7 (source, R code)

Downloads:

Package source: RougeLM_1.0.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): RougeLM_1.0.0.tgz, r-oldrel (arm64): RougeLM_1.0.0.tgz, r-release (x86_64): RougeLM_1.0.0.tgz, r-oldrel (x86_64): RougeLM_1.0.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=RougeLM to link to this page.