gfoRmula
The gfoRmula package implements the parametric g-formula in R. The parametric g-formula (Robins, 1986) uses longitudinal data with time-varying treatments and confounders to estimate the risk or mean of an outcome under hypothetical treatment strategies specified by the user.
Science Score: 23.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
○codemeta.json file
-
○.zenodo.json file
-
✓DOI references
Found 2 DOI reference(s) in README -
○Academic publication links
-
✓Committers with academic emails
2 of 3 committers (66.7%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.7%) to scientific vocabulary
Repository
The gfoRmula package implements the parametric g-formula in R. The parametric g-formula (Robins, 1986) uses longitudinal data with time-varying treatments and confounders to estimate the risk or mean of an outcome under hypothetical treatment strategies specified by the user.
Basic Info
Statistics
- Stars: 174
- Watchers: 15
- Forks: 69
- Open Issues: 5
- Releases: 0
Metadata Files
README.Rmd
---
output: github_document
---
```{r setup, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# gfoRmula: Parametric G-Formula
[](https://cran.r-project.org/package=gfoRmula)
[](https://github.com/CausalInference/gfoRmula/actions/workflows/R-CMD-check.yaml)
[](https://app.codecov.io/gh/CausalInference/gfoRmula)
## Installation
You can install the released version of `gfoRmula` from CRAN with:
``` r
install.packages("gfoRmula")
```
After installing the `devtools` package (i.e., calling `install.packages(devtools)`), the development version of `gfoRmula` can be installed from GitHub with:
``` r
devtools::install_github("CausalInference/gfoRmula")
```
## Usage
Please refer to [McGrath et al. (2020)](https://doi.org/10.1016/j.patter.2020.100008) for a detailed guide to the `gfoRmula` package. Also, see the following vignettes regarding updates since McGrath et al. (2020):
* "A Simplified Approach for Specifying Interventions in gfoRmula"
* "Using Custom Outcome Models in gfoRmula"
Owner
- Name: CAUSALab
- Login: CausalInference
- Kind: organization
- Email: CAUSALab@hsph.harvard.edu
- Twitter: CAUSALab
- Repositories: 2
- Profile: https://github.com/CausalInference
A Center to Learn What Works
GitHub Events
Total
- Issues event: 17
- Watch event: 26
- Issue comment event: 29
- Push event: 3
- Fork event: 6
Last Year
- Issues event: 17
- Watch event: 26
- Issue comment event: 29
- Push event: 3
- Fork event: 6
Committers
Last synced: over 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| Sean McGrath | s****h@h****u | 58 |
| Louisa Smith | l****h | 3 |
| Louisa Smith | l****h@d****u | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 11 months ago
All Time
- Total issues: 37
- Total pull requests: 5
- Average time to close issues: 3 months
- Average time to close pull requests: 1 minute
- Total issue authors: 28
- Total pull request authors: 4
- Average comments per issue: 2.84
- Average comments per pull request: 0.8
- Merged pull requests: 3
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 6
- Pull requests: 0
- Average time to close issues: 8 days
- Average time to close pull requests: N/A
- Issue authors: 6
- Pull request authors: 0
- Average comments per issue: 1.0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- sally741 (4)
- njawadekar (4)
- JerzyEG (2)
- chenlan26 (2)
- ChristelSwift (2)
- boyercb (2)
- joannadiong (2)
- dzugna (1)
- sebastiaan-blank (1)
- rbarnardmayers (1)
- lijiaqi-github (1)
- mskypala (1)
- pychan-polly (1)
- suthlam (1)
- guanchengcheng (1)
Pull Request Authors
- rwlogan (2)
- stmcg (1)
- resace3 (1)
- andrewbaxter439 (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 507 last-month
- Total docker downloads: 21,613
- Total dependent packages: 0
- Total dependent repositories: 1
- Total versions: 11
- Total maintainers: 1
cran.r-project.org: gfoRmula
Parametric G-Formula
- Homepage: https://github.com/CausalInference/gfoRmula
- Documentation: http://cran.r-project.org/web/packages/gfoRmula/gfoRmula.pdf
- License: GPL-3
-
Latest release: 1.1.1
published over 1 year ago
Rankings
Maintainers (1)
Dependencies
- R >= 3.5.0 depends
- data.table * imports
- ggplot2 * imports
- ggpubr * imports
- grDevices * imports
- nnet * imports
- parallel * imports
- progress * imports
- stats * imports
- stringr * imports
- survival * imports
- truncnorm * imports
- truncreg * imports
- utils * imports
- Hmisc * suggests