{
  "_id": "6a10313cacfb0bcc41c968cc",
  "Package": "gcomputation",
  "Type": "Package",
  "Title": "Causal Inference by using G-Computation",
  "Version": "0.34",
  "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-05-06 13:16:09 UTC",
  "RemoteUrl": "https://github.com/chupverse/gcomputation",
  "RemoteRef": "HEAD",
  "RemoteSha": "4e2d75b738cfa007c5245a77f24b9c862b645680",
  "Packaged": {
    "Date": "2026-05-12 09:08:37 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>)",
  "MD5sum": "a0ac9b865d7a67acfd5c33191e81cbdf",
  "_user": "chupverse",
  "_type": "src",
  "_file": "gcomputation_0.34.tar.gz",
  "_fileid": "2e47d068a3080f993579d477aa18d3dafb8a3f021c0125f890d53cf482c97876",
  "_filesize": 294342,
  "_sha256": "2e47d068a3080f993579d477aa18d3dafb8a3f021c0125f890d53cf482c97876",
  "_created": "2026-05-12T09:08:37.000Z",
  "_published": "2026-05-22T10:34:36.789Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77362636378,
      "time": 183,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6940128623"
    },
    {
      "job": 77362636310,
      "time": 180,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6940128029"
    },
    {
      "job": 77362636522,
      "time": 163,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6940207864"
    },
    {
      "job": 77362636416,
      "time": 202,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6940234162"
    },
    {
      "job": 77362635722,
      "time": 177,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6940063725"
    },
    {
      "job": 77362635815,
      "time": 113,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7158454911"
    },
    {
      "job": 77362636436,
      "time": 159,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6940119571"
    },
    {
      "job": 77362636614,
      "time": 176,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6940126499"
    },
    {
      "job": 77362636460,
      "time": 188,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6940129899"
    }
  ],
  "_buildurl": "https://github.com/r-universe/chupverse/actions/runs/25724642831",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/chupverse/gcomputation",
  "_commit": {
    "id": "4e2d75b738cfa007c5245a77f24b9c862b645680",
    "author": "Yohann Foucher <153531453+foucher-y@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #34 from foucher-y/main\n\nUpdate DESCRIPTION",
    "time": 1778073369
  },
  "_maintainer": {
    "name": "Yohann Foucher",
    "email": "yohann.foucher@univ-poitiers.fr",
    "login": "foucher-y",
    "linkedin": "in/yohann-foucher",
    "orcid": "0000-0003-0330-7457",
    "uuid": 153531453
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0.0",
      "role": "Depends"
    },
    {
      "package": "survival",
      "role": "Depends"
    },
    {
      "package": "hdnom",
      "role": "Depends"
    },
    {
      "package": "glmnet",
      "role": "Depends"
    },
    {
      "package": "MASS",
      "role": "Depends"
    },
    {
      "package": "mice",
      "role": "Depends"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    }
  ],
  "_owner": "chupverse",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-27",
      "n": 1
    },
    {
      "week": "2025-28",
      "n": 1
    },
    {
      "week": "2025-29",
      "n": 1
    },
    {
      "week": "2025-38",
      "n": 4
    },
    {
      "week": "2025-39",
      "n": 5
    },
    {
      "week": "2025-40",
      "n": 1
    },
    {
      "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
    }
  ],
  "_tags": [],
  "_topics": [
    "biostatistics",
    "causal-inference",
    "confounders"
  ],
  "_stars": 5,
  "_contributors": [
    {
      "user": "joedekeizer",
      "count": 74,
      "uuid": 182775158
    },
    {
      "user": "foucher-y",
      "count": 15,
      "uuid": 153531453
    },
    {
      "user": "matthieutrtr",
      "count": 12,
      "uuid": 134304161
    }
  ],
  "_userbio": {
    "uuid": 163420963,
    "type": "organization",
    "name": "Poitiers Health Data",
    "description": "A collection of R packages and other codes from Poitiers Univeristy Hospital"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/gcomputation"
  },
  "_devurl": "https://github.com/chupverse/gcomputation",
  "_searchresults": 0,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/gcomputation.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_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": "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"
      ]
    }
  ],
  "_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",
    "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",
    "rpart",
    "S7",
    "scales",
    "shape",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "tzdb",
    "ucminf",
    "utf8",
    "vctrs",
    "viridisLite",
    "vroom",
    "withr"
  ],
  "_score": 4.903089986991944,
  "_indexed": true,
  "_nocasepkg": "gcomputation",
  "_universes": [
    "chupverse",
    "foucher-y"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.34",
      "date": "2026-05-12T09:10:58.000Z",
      "distro": "noble",
      "commit": "4e2d75b738cfa007c5245a77f24b9c862b645680",
      "fileid": "f21633d03ab53ad0a118bd7ea38d551082fc60bf1e785af49012ffc95b607faa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/chupverse/actions/runs/25724642831"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.34",
      "date": "2026-05-12T09:10:58.000Z",
      "distro": "noble",
      "commit": "4e2d75b738cfa007c5245a77f24b9c862b645680",
      "fileid": "32ce5d223a3153dae4558d595c98485931d83f706218e258116717b4394533cb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/chupverse/actions/runs/25724642831"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.34",
      "date": "2026-05-12T09:15:10.000Z",
      "commit": "4e2d75b738cfa007c5245a77f24b9c862b645680",
      "fileid": "f51664e7a05ff84860d22c0a1567379264c63c6a36be380bf961dfaa70ef6ec3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/chupverse/actions/runs/25724642831"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.34",
      "date": "2026-05-12T09:16:11.000Z",
      "commit": "4e2d75b738cfa007c5245a77f24b9c862b645680",
      "fileid": "798c5f186428406fd3fd46c85b873bbe20ba6d80740e2e44f30391711258cdd6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/chupverse/actions/runs/25724642831"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.34",
      "date": "2026-05-12T09:10:22.000Z",
      "commit": "4e2d75b738cfa007c5245a77f24b9c862b645680",
      "fileid": "66d578108dbb6efb556ce1660cac665994614bb9dcb32bf4b70f2ef4bd1d7ca8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/chupverse/actions/runs/25724642831"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.34",
      "date": "2026-05-12T09:10:36.000Z",
      "commit": "4e2d75b738cfa007c5245a77f24b9c862b645680",
      "fileid": "fd4ec163b1fbee9060e3e11a717d16033c03eb0f0a6de07e27af45b3b8093811",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/chupverse/actions/runs/25724642831"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.34",
      "date": "2026-05-12T09:10:42.000Z",
      "commit": "4e2d75b738cfa007c5245a77f24b9c862b645680",
      "fileid": "74e93d5119ab82817acb74c771dc5bbdfa3b45c4959f813de74d6fb616ac5a2f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/chupverse/actions/runs/25724642831"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.34",
      "date": "2026-05-22T10:34:22.000Z",
      "commit": "4e2d75b738cfa007c5245a77f24b9c862b645680",
      "fileid": "07403df3674a6743573e4b4289d58ea6223882e41ab9a7cb6a25c5413ee64cbc",
      "status": "success",
      "buildurl": "https://github.com/r-universe/chupverse/actions/runs/25724642831"
    }
  ]
}