Other packages > Find by keyword >

gfoRmula  

Parametric G-Formula
View on CRAN: Click here


Download and install gfoRmula package within the R console
Install from CRAN:
install.packages("gfoRmula")

Install from Github:
library("remotes")
install_github("cran/gfoRmula")

Install by package version:
library("remotes")
install_version("gfoRmula", "1.1.0")



Attach the package and use:
library("gfoRmula")
Maintained by
Sean McGrath
[Scholar Profile | Author Map]
First Published: 2019-08-25
Latest Update: 2023-05-18
Description:
Implements the parametric g-formula algorithm of Robins (1986) . The g-formula can be used to estimate the causal effects of hypothetical time-varying treatment interventions on the mean or risk of an outcome from longitudinal data with time-varying confounding. This package allows: 1) binary or continuous/multi-level time-varying treatments; 2) different types of outcomes (survival or continuous/binary end of follow-up); 3) data with competing events or truncation by death and loss to follow-up and other types of censoring events; 4) different options for handling competing events in the case of survival outcomes; 5) a random measurement/visit process; 6) joint interventions on multiple treatments; and 7) general incorporation of a priori knowledge of the data structure.
How to cite:
Sean McGrath (2019). gfoRmula: Parametric G-Formula. R package version 1.1.0, https://cran.r-project.org/web/packages/gfoRmula. Accessed 01 Apr. 2025.
Previous versions and publish date:
0.2.1 (2019-08-25 09:30), 0.3.0 (2020-01-30 07:10), 0.3.1 (2020-03-23 18:20), 0.3.2 (2021-07-13 08:30), 1.0.0 (2022-04-09 22:02), 1.0.1 (2023-01-12 00:40), 1.0.2 (2023-02-27 22:42), 1.0.3 (2023-05-18 19:20), 1.0.4 (2024-01-30 20:50), 1.1.0 (2024-10-01 08:50)
Other packages that cited gfoRmula R package
View gfoRmula citation profile
Other R packages that gfoRmula depends, imports, suggests or enhances
Complete documentation for gfoRmula
Downloads during the last 30 days
03/0203/0303/0403/0503/0603/0703/0803/0903/1003/1103/1203/1303/1403/1503/1603/1703/1803/1903/2003/2103/2203/2303/2403/2503/2603/2703/2803/2903/3003/31Downloads for gfoRmula0102030405060708090TrendBars

Today's Hot Picks in Authors and Packages

quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
eSIR  
Extended State-Space SIR Models
An implementation of extended state-space SIR models developed by Song Lab at UM school of Public H ...
Download / Learn more Package Citations See dependency  
shinyBS  
Twitter Bootstrap Components for Shiny
Adds additional Twitter Bootstrap components to Shiny. ...
Download / Learn more Package Citations See dependency  
samplesize  
Sample Size Calculation for Various t-Tests and Wilcoxon-Test
Computes sample size for Student's t-test and for the Wilcoxon-Mann-Whitney test for categorical dat ...
Download / Learn more Package Citations See dependency  
gasmodel  
Generalized Autoregressive Score Models
Estimation, forecasting, and simulation of generalized autoregressive score (GAS) models of Creal, ...
Download / Learn more Package Citations See dependency  
simplevis  
Wrappers to Simplify Beautiful "ggplot2" and "leaflet" Visualisation
Wrapper functions around the amazing 'leaflet' package that aims to simplify 'leaflet' visualisatio ...
Download / Learn more Package Citations See dependency  

23,842

R Packages

207,311

Dependencies

64,420

Author Associations

23,781

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA