{
  "_id": "6ac7814ede46216d5edd11aa",
  "Package": "gcomputation",
  "Type": "Package",
  "Title": "Causal Inference by using G-Computation",
  "Version": "0.36",
  "Description": "Several functions and S3 methods for G-computation and\nemulation of clinical trials. It allows for flexible estimation\nof the outcome model, especially penalized regressions (Lasso,\nRidge, or Elasticnet) for binary, continuous, counting, or\nright-censored time-to-event outcomes. Average treatment effect\namong the entire population (ATE) or among the treated\npopulation (ATT) can be estimated. The method for\ntime-to-events is described by Chatton et al. (2020)\n<doi:10.1038/s41598-020-65917-x>.  For a binary outcome,\ndetails are available in the paper proposed by Chatton et al.\n(2022) <doi:10.1177/09622802211047345>.",
  "License": "GPL (>=2)",
  "Encoding": "UTF-8",
  "LazyLoad": "yes",
  "NeedsCompilation": "no",
  "Maintainer": "Yohann Foucher <yohann.foucher@univ-poitiers.fr>",
  "BugReports": "https://github.com/chupverse/gcomputation/issues",
  "Authors@R": "c(person(\"Yohann\", \"Foucher\", role = c(\"aut\", \"cre\"), email = \"yohann.foucher@univ-poitiers.fr\", comment = c(ORCID = \"0000-0003-0330-7457\")), person(\"Joe\", \"De Keizer\", role = \"aut\", email = \"joe.de.keizer@univ-poitiers.fr\", comment = c(ORCID = \"0000-0003-0821-4540\")) )",
  "RoxygenNote": "7.3.3",
  "Config/pak/sysreqs": "cmake make libicu-dev libx11-dev zlib1g-dev",
  "Repository": "https://chupverse.r-universe.dev",
  "Date/Publication": "2026-09-08 12:44:43 UTC",
  "RemoteUrl": "https://github.com/chupverse/gcomputation",
  "RemoteRef": "HEAD",
  "RemoteSha": "796c6ad1e1c52086c8f40452cac88320f0f86fae",
  "Packaged": {
    "Date": "2026-10-08 11:01:22 UTC",
    "User": "root"
  },
  "Author": "Yohann Foucher [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-0330-7457>),\nJoe De Keizer [aut] (ORCID: <https://orcid.org/0000-0003-0821-4540>)",
  "_user": "chupverse",
  "_type": "src",
  "_file": "gcomputation_0.36.tar.gz",
  "_fileid": "https://r2.ropensci.org/3b249ec44455f209ac5266067fa9ddfd8c2407b98cbd8d30e876e01763a3119b",
  "_filesize": 8498076,
  "_sha256": "3b249ec44455f209ac5266067fa9ddfd8c2407b98cbd8d30e876e01763a3119b",
  "_expires": "2027-01-16T11:41:00.000Z",
  "_created": "2026-10-08T11:01:22.000Z",
  "_published": "2026-10-08T11:41:02.784Z",
  "_buildurl": "https://github.com/r-universe/chupverse/actions/runs/37766969103",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 113278242524,
      "time": 196,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11546655416"
    },
    {
      "job": 113278242398,
      "time": 144,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11546495251"
    },
    {
      "job": 113278242550,
      "time": 230,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11548586236"
    },
    {
      "job": 113278242442,
      "time": 226,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11547542260"
    },
    {
      "job": 113277002693,
      "time": 202,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11546170049"
    },
    {
      "job": 113278242435,
      "time": 116,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11545031689"
    },
    {
      "job": 113278242496,
      "time": 220,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11545711734"
    },
    {
      "job": 113278242359,
      "time": 139,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11545926429"
    },
    {
      "job": 113278242365,
      "time": 152,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11545946472"
    }
  ],
  "_upstream": "https://github.com/chupverse/gcomputation",
  "_commit": {
    "id": "796c6ad1e1c52086c8f40452cac88320f0f86fae",
    "author": "Joe de Keizer <joedekeizer@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #40 from joedekeizer/main\n\nversioning",
    "time": 1788871483
  },
  "_maintainer": {
    "name": "Yohann Foucher",
    "email": "yohann.foucher@univ-poitiers.fr",
    "login": "foucher-y",
    "linkedin": "in/yohann-foucher",
    "orcid": "0000-0003-0330-7457",
    "description": "Professor in Biostatistics",
    "uuid": 153531453
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0.0",
      "role": "Depends"
    },
    {
      "package": "mice",
      "role": "Depends"
    },
    {
      "package": "survival",
      "role": "Depends"
    },
    {
      "package": "glmnet",
      "role": "Depends"
    },
    {
      "package": "hdnom",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "geex",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    }
  ],
  "_owner": "chupverse",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-41",
      "n": 7
    },
    {
      "week": "2025-42",
      "n": 1
    },
    {
      "week": "2025-44",
      "n": 1
    },
    {
      "week": "2026-03",
      "n": 6
    },
    {
      "week": "2026-05",
      "n": 1
    },
    {
      "week": "2026-12",
      "n": 1
    },
    {
      "week": "2026-13",
      "n": 3
    },
    {
      "week": "2026-17",
      "n": 1
    },
    {
      "week": "2026-18",
      "n": 2
    },
    {
      "week": "2026-19",
      "n": 1
    },
    {
      "week": "2026-26",
      "n": 4
    },
    {
      "week": "2026-30",
      "n": 1
    },
    {
      "week": "2026-31",
      "n": 5
    },
    {
      "week": "2026-36",
      "n": 1
    },
    {
      "week": "2026-37",
      "n": 2
    }
  ],
  "_tags": [],
  "_topics": [
    "biostatistics",
    "causal-inference",
    "confounders"
  ],
  "_stars": 7,
  "_contributors": [
    {
      "user": "joedekeizer",
      "count": 92,
      "uuid": 182775158
    },
    {
      "user": "matthieutrtr",
      "count": 27,
      "uuid": 134304161
    },
    {
      "user": "foucher-y",
      "count": 15,
      "uuid": 153531453
    }
  ],
  "_userbio": {
    "uuid": 163420963,
    "type": "organization",
    "name": "Poitiers Health Data",
    "followers": 25,
    "description": "A collection of R packages and other codes from Poitiers Univeristy Hospital"
  },
  "_downloads": {
    "count": 363,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/gcomputation"
  },
  "_devurl": "https://github.com/chupverse/gcomputation",
  "_searchresults": 0,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/gcomputation.html",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/chupverse/gcomputation",
  "_realowner": "chupverse",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.34",
      "date": "2026-05-11"
    }
  ],
  "_exports": [
    "gc_binary",
    "gc_continuous",
    "gc_count",
    "gc_times",
    "transport"
  ],
  "_datasets": [
    {
      "name": "dataCOHORT",
      "title": "Simulated Real Word Data Similar to the PROPHYVAP Study",
      "object": "dataCOHORT",
      "file": "dataCOHORT.RData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "GROUP",
        "AGE",
        "SEX",
        "BMI",
        "DIABETES",
        "ALCOHOL",
        "SMOKING",
        "INJURY",
        "GLASGOW",
        "PAO2FIO2",
        "LEUKO",
        "TIME_INTUBATION",
        "VAP",
        "TIME_DEATH",
        "DEATH"
      ],
      "rows": 2000,
      "table": true,
      "tojson": true
    },
    {
      "name": "dataPROPHYVAP",
      "title": "A Simulated Randomized Clinical Trial from the PROPHYVAP Study",
      "object": "dataPROPHYVAP",
      "file": "dataPROPHYVAP.RData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "GROUP",
        "AGE",
        "SEX",
        "BMI",
        "DIABETES",
        "ALCOHOL",
        "SMOKING",
        "INJURY",
        "GLASGOW",
        "PAO2FIO2",
        "LEUKO",
        "TIME_INTUBATION",
        "TIME_TRT",
        "VAP",
        "TIME_DEATH",
        "DEATH",
        "HYPOTENSION"
      ],
      "rows": 319,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "dataCOHORT",
      "title": "Simulated Real Word Data Similar to the PROPHYVAP Study",
      "topics": [
        "dataCOHORT"
      ]
    },
    {
      "page": "dataPROPHYVAP",
      "title": "A Simulated Randomized Clinical Trial from the PROPHYVAP Study",
      "topics": [
        "dataPROPHYVAP"
      ]
    },
    {
      "page": "gc_binary",
      "title": "G-Computation to Estimate a Marginal Effect for a Binary Outcome",
      "topics": [
        "gc_binary"
      ]
    },
    {
      "page": "gc_continuous",
      "title": "G-Computation to Estimate a Marginal Effect with a Continuous Outcome",
      "topics": [
        "gc_continuous"
      ]
    },
    {
      "page": "gc_count",
      "title": "G-Computation to Estimate a Marginal Effect with a Counting Outcome",
      "topics": [
        "gc_count"
      ]
    },
    {
      "page": "gc_times",
      "title": "G-Computation to Estimate a Marginal Effect for Time-to-Event Outcome",
      "topics": [
        "gc_times"
      ]
    },
    {
      "page": "gcomputation",
      "title": "gcomputation: Estimating Marginal Effects Using G-Computation",
      "topics": [
        "gcomputation-package",
        "gcomputation"
      ]
    },
    {
      "page": "plot.gcbinary",
      "title": "S3 Method for Plotting a 'gcbinary' Object",
      "topics": [
        "plot.gcbinary"
      ]
    },
    {
      "page": "plot.gccontinuous",
      "title": "S3 Method for Plotting a 'gccontinuous' Object",
      "topics": [
        "plot.gccontinuous"
      ]
    },
    {
      "page": "plot.gccount",
      "title": "S3 Method for Plotting a 'gccount' Object",
      "topics": [
        "plot.gccount"
      ]
    },
    {
      "page": "plot.gctimes",
      "title": "S3 Method for Plotting a 'gctimes' Object",
      "topics": [
        "plot.gctimes"
      ]
    },
    {
      "page": "print.gcbinary",
      "title": "S3 Method for Printing an 'gcbinary' Object",
      "topics": [
        "print.gcbinary"
      ]
    },
    {
      "page": "print.gccontinuous",
      "title": "S3 Method for Printing an 'gccontinuous' Object",
      "topics": [
        "print.gccontinuous"
      ]
    },
    {
      "page": "print.gccount",
      "title": "S3 Method for Printing an 'gccontinuous' Object",
      "topics": [
        "print.gccount"
      ]
    },
    {
      "page": "print.gctimes",
      "title": "S3 Method for Printing an 'gctimes' Object",
      "topics": [
        "print.gctimes"
      ]
    },
    {
      "page": "summary.gcbinary",
      "title": "S3 Method for Summarizing an 'gcbinary' Object",
      "topics": [
        "print.summary.gcbinary",
        "summary.gcbinary"
      ]
    },
    {
      "page": "summary.gccontinuous",
      "title": "S3 Method for Summarizing an 'gccontinuous' Object",
      "topics": [
        "print.summary.gccontinuous",
        "summary.gccontinuous"
      ]
    },
    {
      "page": "summary.gccount",
      "title": "S3 Method for Summarizing an 'gccount' Object",
      "topics": [
        "print.summary.gccount",
        "summary.gccount"
      ]
    },
    {
      "page": "summary.gctimes",
      "title": "S3 Method for Summarizing an 'gctimes' Object",
      "topics": [
        "print.summary.gctimes",
        "summary.gctimes"
      ]
    },
    {
      "page": "transport",
      "title": "Transport the Marginal Effect for Another Populations",
      "topics": [
        "transport"
      ]
    }
  ],
  "_pkglogo": "https://github.com/chupverse/gcomputation/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/chupverse/gcomputation/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "bit",
    "bit64",
    "boot",
    "broom",
    "cli",
    "clipr",
    "codetools",
    "cpp11",
    "crayon",
    "dplyr",
    "farver",
    "forcats",
    "foreach",
    "geex",
    "generics",
    "ggplot2",
    "glmnet",
    "glue",
    "gridExtra",
    "gtable",
    "haven",
    "hdnom",
    "hms",
    "isoband",
    "iterators",
    "jomo",
    "labeling",
    "lattice",
    "lifecycle",
    "lme4",
    "magrittr",
    "MASS",
    "Matrix",
    "mice",
    "minqa",
    "mitml",
    "ncvreg",
    "nlme",
    "nloptr",
    "nnet",
    "numDeriv",
    "ordinal",
    "pan",
    "penalized",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "purrr",
    "R6",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "Rdpack",
    "readr",
    "reformulas",
    "rlang",
    "rootSolve",
    "rpart",
    "S7",
    "scales",
    "shape",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "tzdb",
    "ucminf",
    "utf8",
    "vctrs",
    "viridisLite",
    "vroom",
    "withr"
  ],
  "_score": 5.021189299069938,
  "_indexed": true,
  "_nocasepkg": "gcomputation",
  "_universes": [
    "chupverse",
    "foucher-y"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.36",
      "date": "2026-10-08T11:04:20.000Z",
      "distro": "resolute",
      "commit": "796c6ad1e1c52086c8f40452cac88320f0f86fae",
      "fileid": "https://r2.ropensci.org/0f5691f0238f0f497d2807469f439b9e3d32a74a70ba3668254b7068b7349742",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/chupverse/actions/runs/37766969103"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.36",
      "date": "2026-10-08T11:03:38.000Z",
      "distro": "resolute",
      "commit": "796c6ad1e1c52086c8f40452cac88320f0f86fae",
      "fileid": "https://r2.ropensci.org/e02d07eb16746ba767fdf66d2bd8465afcfc20aad38de59c4d6ad74a5bb2dd39",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/chupverse/actions/runs/37766969103"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.36",
      "date": "2026-10-08T11:39:09.000Z",
      "commit": "796c6ad1e1c52086c8f40452cac88320f0f86fae",
      "fileid": "https://r2.ropensci.org/f3bf617df9331981e69ac862269103174e943d8160157c2fe0eb5814750cce6a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/chupverse/actions/runs/37766969103"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.36",
      "date": "2026-10-08T11:38:49.000Z",
      "commit": "796c6ad1e1c52086c8f40452cac88320f0f86fae",
      "fileid": "https://r2.ropensci.org/44c52a6986aa4ddfe2da36b4eab8bf12aaff0d6b16895882f09d339e8ab2a03c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/chupverse/actions/runs/37766969103"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.36",
      "date": "2026-10-08T11:03:56.000Z",
      "commit": "796c6ad1e1c52086c8f40452cac88320f0f86fae",
      "fileid": "https://r2.ropensci.org/31e44b7cb8ab4448b4cf35b243fe23ebc337a985b7c760511e9fc31da6e95246",
      "status": "success",
      "buildurl": "https://github.com/r-universe/chupverse/actions/runs/37766969103"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.36",
      "date": "2026-10-08T11:04:17.000Z",
      "commit": "796c6ad1e1c52086c8f40452cac88320f0f86fae",
      "fileid": "https://r2.ropensci.org/26c098aa56aeac942f8db8740eb9c5ce9e5b92f52faa9b26667d41f64aa2bdf4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/chupverse/actions/runs/37766969103"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.36",
      "date": "2026-10-08T11:02:52.000Z",
      "commit": "796c6ad1e1c52086c8f40452cac88320f0f86fae",
      "fileid": "https://r2.ropensci.org/46efbc681cb1ad264d08c250b61ec57fbe5b983c8c4d2cabbdee8ee1b0cd957e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/chupverse/actions/runs/37766969103"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.36",
      "date": "2026-10-08T11:02:59.000Z",
      "commit": "796c6ad1e1c52086c8f40452cac88320f0f86fae",
      "fileid": "https://r2.ropensci.org/9166eaca59b1eb6b0da899fc4bb24f9df0694d54ee6c3eeff3fbc4e70579ac84",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/chupverse/actions/runs/37766969103"
    }
  ]
}