Package: rmdl 0.1.0.9000
rmdl: A Causality-Informed Modeling Approach
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.
Authors:
rmdl_0.1.0.9000.tar.gz
rmdl_0.1.0.9000.zip(r-4.5)rmdl_0.1.0.9000.zip(r-4.4)rmdl_0.1.0.9000.zip(r-4.3)
rmdl_0.1.0.9000.tgz(r-4.4-any)rmdl_0.1.0.9000.tgz(r-4.3-any)
rmdl_0.1.0.9000.tar.gz(r-4.5-noble)rmdl_0.1.0.9000.tar.gz(r-4.4-noble)
rmdl_0.1.0.9000.tgz(r-4.4-emscripten)rmdl_0.1.0.9000.tgz(r-4.3-emscripten)
rmdl.pdf |rmdl.html✨
rmdl/json (API)
NEWS
# Install 'rmdl' in R: |
install.packages('rmdl', repos = c('https://shah-in-boots.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/shah-in-boots/rmdl/issues
epidemiologymodelingstatistics
Last updated 6 months agofrom:a52c906674. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 25 2024 |
R-4.5-win | OK | Oct 25 2024 |
R-4.5-linux | OK | Oct 25 2024 |
R-4.4-win | OK | Oct 25 2024 |
R-4.4-mac | OK | Oct 25 2024 |
R-4.3-win | OK | Oct 25 2024 |
R-4.3-mac | OK | Oct 25 2024 |
Exports:apply_direct_patternapply_fundamental_patternapply_parallel_patternapply_patternapply_rolling_interaction_patternapply_sequential_patternattach_datadescribeestimate_interactionfitflatten_modelsfmlsglanceis_dichotomousis_fmlsis_model_tableis_tmkey_termslabeled_formulas_to_named_listlhsmdlmdl_tblmodelmodel_tablenumber_of_missingrhstidytm
Dependencies:backportsbroomclicpp11dplyrfansigenericsgluelifecyclemagrittrpillarpkgconfigpurrrR6rlangstringistringrtibbletidyrtidyselectutf8vctrswithr
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Data summarization and classification methods | data_helpers is_dichotomous number_of_missing |
Describe attributes of a 'tm' vector | describe |
Extending 'dplyr' for 'tm' class | dplyr_extensions filter.tm |
Estimating interaction effect estimates | estimate_interaction |
Vectorized formulas | fmls is_fmls key_terms |
Tools for working with formula-like objects | formula_helpers lhs lhs.formula rhs rhs.formula |
Convert labeling formulas to named lists | labeled_formulas_to_named_list |
Model tables | is_model_table mdl_tbl model_table |
Model table helper functions | attach_data flatten_models model_table_helpers |
Model Prototypes | mdl mdl.character mdl.coxph mdl.default mdl.glm mdl.lm model models |
Apply patterns to formulas | apply_direct_pattern apply_fundamental_pattern apply_parallel_pattern apply_pattern apply_rolling_interaction_pattern apply_sequential_pattern patterns |
Create vectorized terms | is_tm tm tm.character tm.default tm.fmls tm.formula tm.tm |
Update 'tm' objects | update.tm |