{"id":26027699,"url":"https://github.com/shah-in-boots/rmdl","last_synced_at":"2026-06-06T00:31:31.254Z","repository":{"id":48275404,"uuid":"315805537","full_name":"shah-in-boots/rmdl","owner":"shah-in-boots","description":"A Causality-Informed Modeling Appraoch","archived":false,"fork":false,"pushed_at":"2024-08-25T00:36:58.000Z","size":10677,"stargazers_count":1,"open_issues_count":12,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-09T11:46:21.961Z","etag":null,"topics":["epidemiology","modeling","r","r-package","rstats","statistics"],"latest_commit_sha":null,"homepage":"https://shah-in-boots.github.io/rmdl/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shah-in-boots.png","metadata":{"files":{"readme":"README.Rmd","changelog":"NEWS.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-11-25T02:20:22.000Z","updated_at":"2025-11-18T06:11:16.000Z","dependencies_parsed_at":"2023-02-10T13:00:57.915Z","dependency_job_id":"85f6e77c-9491-4f92-a06d-36b500a1a4c5","html_url":"https://github.com/shah-in-boots/rmdl","commit_stats":null,"previous_names":["asshah4/volundr","asshah4/rmdl","shah-in-boots/rmdl","asshah4/vlndr"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/shah-in-boots/rmdl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shah-in-boots%2Frmdl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shah-in-boots%2Frmdl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shah-in-boots%2Frmdl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shah-in-boots%2Frmdl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shah-in-boots","download_url":"https://codeload.github.com/shah-in-boots/rmdl/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shah-in-boots%2Frmdl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33965591,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-05T02:00:06.157Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["epidemiology","modeling","r","r-package","rstats","statistics"],"created_at":"2025-03-06T16:57:01.932Z","updated_at":"2026-06-06T00:31:31.230Z","avatar_url":"https://github.com/shah-in-boots.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\",\n  out.width = \"100%\"\n)\n```\n\n# rmdl\n\n\u003c!-- badges: start --\u003e\n[![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html#experimental)\n[![CRAN status](https://www.r-pkg.org/badges/version/rmdl)](https://CRAN.R-project.org/package=rmdl)\n[![](http://cranlogs.r-pkg.org/badges/grand-total/rmdl?color=blue)](https://cran.r-project.org/package=rmdl)\n[![R-CMD-check](https://github.com/shah-in-boots/rmdl/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/shah-in-boots/rmdl/actions/workflows/R-CMD-check.yaml)\n[![pkgdown](https://github.com/shah-in-boots/rmdl/actions/workflows/pkgdown.yaml/badge.svg)](https://github.com/shah-in-boots/rmdl/actions/workflows/pkgdown.yaml)\n[![test-coverage](https://github.com/shah-in-boots/rmdl/actions/workflows/test-coverage.yaml/badge.svg)](https://github.com/shah-in-boots/rmdl/actions/workflows/test-coverage.yaml)\n[![Codecov test coverage](https://codecov.io/gh/shah-in-boots/rmdl/branch/main/graph/badge.svg)](https://app.codecov.io/gh/shah-in-boots/rmdl?branch=main)\n[![Github commit frequency](https://img.shields.io/github/commit-activity/w/shah-in-boots/rmdl)](https://github.com/shah-in-boots/rmdl/graphs/commit-activity) \n\u003c!-- badges: end --\u003e\n\n## Installation\n\nThis package can be downloaded from CRAN or from [Github](https://github.com/shah-in-boots/rmdl) as below\n\n```{r, eval = FALSE}\n# CRAN installation\ninstall.packages(\"rmdl\")\n# Or remote/developmental version\nremotes::install_github(\"shah-in-boots/rmdl\")\n```\n\n## Introduction\n\nThe package `{rmdl}` was intended as a way to handle causal- and epidemiology-based modeling by the following principles:\n\n1. Role determination of variables\n2. Generativity in formula creation\n3. Multiple model management\n\n## Usage\n\nThe package is simple to use. \nThe `mtcars` dataset will serve as the example, and we will use linear regressions as the primary test.\nThis toy example shows that we will be building six models in parallel, with the key exposure being the __wt__ term, and the two outcomes being __mpg__ and __hp__.\n\n```{r}\nlibrary(rmdl)\n\nf \u003c- fmls(mpg + hp ~ .x(wt) + disp + cyl + am, pattern = \"parallel\")\nm \u003c- fit(f, .fn = lm, data = mtcars, raw = FALSE)\nmt \u003c- model_table(mileage = m)\nprint(mt)\n```\n\n## Classes\n\nThere are several important extended classes that this package introduces, however they are primarily used for internal validation and for shortcuts to allow more effective communication.\n\n- `fmls` are a *version* of the base `R` formula object, but contain additional information and have extra features\n- `tm` are atomic elements used to describe individual variables, and departs from how terms are generally treated in the `{stats}` package\n- `mdl` and `mdl_tbl` exist primarily as *tidy* versions of class regression modeling\n\n## Advanced Usage\n\nThe [`{rmdl}`](https://cran.r-project.org/package=rmdl) package is intended to be flexible, extensible, and easy-to-use (albeit opinionated). \nPlease see the vignettes for additional information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshah-in-boots%2Frmdl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshah-in-boots%2Frmdl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshah-in-boots%2Frmdl/lists"}