Package: gfoRmula 1.1.2
gfoRmula: Parametric G-Formula
Implements the non-iterative conditional expectation (NICE) algorithm of the g-formula algorithm (Robins (1986) <doi:10.1016/0270-0255(86)90088-6>, Hernán and Robins (2024, ISBN:9781420076165)). The g-formula can estimate an outcome's counterfactual mean or risk under hypothetical treatment strategies (interventions) when there is sufficient information on time-varying treatments and confounders. This package can be used for discrete or continuous time-varying treatments and for failure time outcomes or continuous/binary end of follow-up outcomes. The package can handle a random measurement/visit process and a priori knowledge of the data structure, as well as censoring (e.g., by loss to follow-up) and two options for handling competing events for failure time outcomes. Interventions can be flexibly specified, both as interventions on a single treatment or as joint interventions on multiple treatments. See McGrath et al. (2020) <doi:10.1016/j.patter.2020.100008> for a guide on how to use the package.
Authors:
gfoRmula_1.1.2.tar.gz
gfoRmula_1.1.2.zip(r-4.7)gfoRmula_1.1.2.zip(r-4.6)gfoRmula_1.1.2.zip(r-4.5)
gfoRmula_1.1.2.tgz(r-4.6-any)gfoRmula_1.1.2.tgz(r-4.5-any)
gfoRmula_1.1.2.tar.gz(r-4.7-any)gfoRmula_1.1.2.tar.gz(r-4.6-any)
gfoRmula_1.1.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
gfoRmula/json (API)
| # Install 'gfoRmula' in R: |
| install.packages('gfoRmula', repos = c('https://causalinference.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/causalinference/gformula/issues
- basicdata - Example Dataset for a Survival Outcome with Competing Events
- basicdata_nocomp - Example Dataset for a Survival Outcome without Competing Events
- binary_eofdata - Example Dataset for a Binary Outcome at End of Follow-Up
- censor_data - Example Dataset for a Survival Outcome with an Indicator of Censoring Variable
- continuous_eofdata - Example Dataset for a Continuous Outcome at End of Follow-Up
- continuous_eofdata_pb - Example Dataset for a Continuous Outcome at End of Follow-Up with Pre-Baseline Times
Last updated from:86653ca131. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 210 | ||
| source / vignettes | OK | 214 | ||
| linux-release-x86_64 | OK | 228 | ||
| macos-release-arm64 | OK | 120 | ||
| macos-oldrel-arm64 | OK | 125 | ||
| windows-devel | OK | 166 | ||
| windows-release | OK | 151 | ||
| windows-oldrel | OK | 159 | ||
| wasm-release | OK | 129 |
Exports:carry_forwardcumavggformulagformula_binary_eofgformula_continuous_eofgformula_survivallagavglaggedsimple_restrictionstaticthreshold
Dependencies:abindbackportsbootbroomcarcarDataclicolorspacecorrplotcowplotcpp11crayondata.tableDerivdigestdoBydplyrfarverforecastFormulafracdiffgenericsggplot2ggpubrggrepelggsciggsignifgluegridExtragtablehmsisobandlabelinglatticelifecyclelme4lmtestmagrittrMASSMatrixMatrixModelsmaxLikmgcvmicrobenchmarkminqamiscToolsmodelrnlmenloptrnnetnumDerivpbkrtestpillarpkgconfigpolynomprettyunitsprogresspurrrquantregR6rbibutilsRColorBrewerRcppRcppArmadilloRcppEigenRdpackreformulasrlangrstatixS7sandwichscalesSparseMstringistringrsurvivaltibbletidyrtidyselecttimeDatetruncnormtruncregurcautf8vctrsviridisLitewithrzoo
Last update: 2024-09-13
Started: 2024-09-13
Last update: 2024-07-20
Started: 2024-07-20
