rmdl: Language to Manage Many Models

A system for describing and manipulating the many models that are generated in causal inference and data analysis projects, as based on the causal theory and criteria of Austin Bradford Hill (1965) <doi:10.1177/003591576505800503>. This system includes the addition of formal attributes that modify base `R` objects, including terms and formulas, with a focus on variable roles in the "do-calculus" of modeling, as described in Pearl (2010) <doi:10.2202/1557-4679.1203>. For example, the definition of exposure, outcome, and interaction are implicit in the roles variables take in a formula. These premises allow for a more fluent modeling approach focusing on variable relationships, and assessing effect modification, as described by VanderWeele and Robins (2007) <doi:10.1097/EDE.0b013e318127181b>. The essential goal is to help contextualize formulas and models in causality-oriented workflows.

Package details

AuthorAnish S. Shah [aut, cre, cph] (<https://orcid.org/0000-0002-9729-1558>)
MaintainerAnish S. Shah <ashah282@uic.edu>
LicenseMIT + file LICENSE
Version0.1.0
URL https://github.com/shah-in-boots/rmdl
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("rmdl")

Try the rmdl package in your browser

Any scripts or data that you put into this service are public.

rmdl documentation built on May 29, 2024, 5:53 a.m.