Package: gfoRmulaICE
Type: Package
Title: Parametric Iterative Conditional Expectation G-Formula
Version: 1.1.1
Authors@R: c(person("Zhaoxi", "Cheng", role = c("aut"),
                     email = "zcheng@hsph.harvard.edu"),
              person("Jing", "Li", role = c("aut", "cre"), 
                      email = "jing_li@hsph.harvard.edu"),
              person("Sophia", "Rein", role = c("aut"), 
                      email = "srein@hsph.harvard.edu"),
              person("Ryan", "O'Dea", role = c("aut"), 
                      email = "ryanodea@hsph.harvard.edu"),
              person("Sean", "McGrath", role = c("aut"),
                      email = "sean_mcgrath@g.harvard.edu"),
              person("Lan", "Wen", role = c("aut"),
                      email = "lan.wen@uwaterloo.ca"),
              person("Miguel A.", "Hernán", role = c("aut"),
                      email = "mhernan@hsph.harvard.edu"),
              person("2024 The President and Fellows of Harvard College", 
                      role = c("cph")))
Description: Implements iterative conditional expectation (ICE) estimators of the plug-in g-formula (Wen, Young, Robins, and Hernán (2020) <doi: 10.1111/biom.13321>). 
    Both singly robust and doubly robust ICE estimators based on parametric models are available. 
    The package can be used to estimate survival curves under sustained treatment strategies (interventions) using longitudinal data with time-varying treatments, time-varying confounders, censoring, and competing events.
    The interventions can be static or dynamic, and deterministic or stochastic (including threshold interventions). Both prespecified and user-defined interventions are available.
License: MIT + file LICENSE
Encoding: UTF-8
LazyData: true
Imports: data.table, ggplot2, nnet, doParallel, parallel, foreach,
        stringr, magrittr, dplyr, rlang, reshape2, speedglm, methods,
        Hmisc, splines
Suggests: testthat (>= 3.0.0)
Config/testthat/edition: 3
RoxygenNote: 7.3.2
Depends: R (>= 2.10)
NeedsCompilation: no
Packaged: 2025-12-14 21:29:40 UTC; jingli
Author: Zhaoxi Cheng [aut],
  Jing Li [aut, cre],
  Sophia Rein [aut],
  Ryan O'Dea [aut],
  Sean McGrath [aut],
  Lan Wen [aut],
  Miguel A. Hernán [aut],
  2024 The President and Fellows of Harvard College [cph]
Maintainer: Jing Li <jing_li@hsph.harvard.edu>
Repository: CRAN
Date/Publication: 2025-12-14 22:00:02 UTC
Built: R 4.6.0; ; 2026-04-25 13:42:41 UTC; unix
