explaingit

hadley/rmdl

Analysis updated 2026-07-09 · repo last pushed 2025-10-07

Audience · researcherComplexity · 2/5QuietSetup · easy

TLDR

rmdl is an R package that lets researchers define variable roles and automatically generate, fit, and organize multiple statistical models at once in a tidy table, focused on causal analysis.

Mindmap

mindmap
  root((repo))
    What it does
      Assigns variable roles
      Generates model formulas
      Fits multiple models at once
    Key concepts
      Role-based variables
      Parallel model fitting
      Tidy model tables
    Use cases
      Epidemiological studies
      Causal inference analysis
      Multi-model comparisons
    Tech stack
      R package
      Built-in datasets
    Audience
      Public health researchers
      Epidemiologists
      Data analysts
    Maturity
      Experimental status
      Active development
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Run multiple regression models on epidemiological data by defining variable roles once and generating all model variations automatically.

USE CASE 2

Compare several outcomes against a common exposure across different combinations of covariates in a single organized table.

USE CASE 3

Track which variables served as exposure, outcome, or confounder across many fitted models for causal analysis reporting.

What is it built with?

R

How does it compare?

hadley/rmdl0xhassaan/nn-from-scratch0xzgbot/hermes-comfyui-skills
Stars00
LanguagePython
Last pushed2025-10-07
MaintenanceQuiet
Setup difficultyeasymoderateeasy
Complexity2/54/51/5
Audienceresearcherdeveloperdesigner

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Install directly from GitHub using remotes or devtools, no external infrastructure or API keys required.

No license information is provided in the README, so usage terms are unclear.

In plain English

rmdl is an R package that helps researchers manage multiple statistical models at once, with a focus on causal and epidemiological analysis. Instead of writing and running one model at a time, it lets you define a set of variables and their roles, like which is the exposure, which is the outcome, and which are other factors, and then automatically generates and fits several models in parallel. The package works through three main ideas. First, it lets you assign roles to your variables, so you can clearly mark what each one represents in your analysis. Second, it generates formulas for you, you describe a pattern of relationships, and it creates the corresponding statistical models. Third, it organizes everything into a tidy table where each row represents one fitted model, complete with metadata about what was included. The example in the README shows this clearly: using the built-in mtcars dataset, a single formula specification produces six models at once, covering two outcomes (mpg and hp) against the same exposure (weight) with other variables mixed in. The resulting table summarizes each model's formula, outcome, exposure, and fit status in one organized view. This would appeal to epidemiologists, public health researchers, or analysts who regularly run many variations of regression models and need to track which variables played which roles across each one. The package is marked as experimental, so it's still in active development and may not be production-ready. The README points to vignettes for deeper documentation but doesn't provide extensive detail beyond the core example.

Copy-paste prompts

Prompt 1
Help me install the rmdl R package from GitHub and set up a script that assigns roles to variables in the mtcars dataset to generate multiple models at once.
Prompt 2
Show me how to use rmdl to define an exposure, two outcomes, and covariates so it automatically generates and fits all model combinations in a tidy table.
Prompt 3
I have an epidemiological dataset with an exposure variable, an outcome, and several confounders. How do I use rmdl to generate and compare multiple causal regression models in one table?

Frequently asked questions

What is rmdl?

rmdl is an R package that lets researchers define variable roles and automatically generate, fit, and organize multiple statistical models at once in a tidy table, focused on causal analysis.

Is rmdl actively maintained?

Quiet — no commits in 6-12 months (last push 2025-10-07).

What license does rmdl use?

No license information is provided in the README, so usage terms are unclear.

How hard is rmdl to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is rmdl for?

Mainly researcher.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.