{
  "_id": "6a212c94cd65a98ecbd239b6",
  "Package": "riskCommunicator",
  "Title": "G-Computation to Estimate Interpretable Epidemiological Effects",
  "Version": "1.0.1",
  "Authors@R": "c(\nperson(given = \"Jessica\",\nfamily = \"Grembi\",\nrole = c(\"aut\", \"cre\", \"cph\"),\nemail = \"jess.grembi@gmail.com\",\ncomment = c(ORCID = \"0000-0001-6142-4913\")),\nperson(\"Elizabeth\", \"Rogawski McQuade\", role = \"ctb\", comment = c(ORCID = \"0000-0002-4942-3747\")))",
  "Description": "Estimates flexible epidemiological effect measures\nincluding both differences and ratios using the parametric\nG-formula developed as an alternative to inverse probability\nweighting.  It is useful for estimating the impact of\ninterventions in the presence of treatment-confounder-feedback.\nG-computation was originally described by Robbins (1986)\n<doi:10.1016/0270-0255(86)90088-6> and has been described in\ndetail by Ahern, Hubbard, and Galea (2009)\n<doi:10.1093/aje/kwp015>; Snowden, Rose, and Mortimer (2011)\n<doi:10.1093/aje/kwq472>; and Westreich et al. (2012)\n<doi:10.1002/sim.5316>.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.2.0",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "cmake make libicu-dev",
  "Repository": "https://jgrembi.r-universe.dev",
  "Date/Publication": "2023-01-30 05:44:13 UTC",
  "RemoteUrl": "https://github.com/jgrembi/riskcommunicator",
  "RemoteRef": "HEAD",
  "RemoteSha": "548afe7bb28c4b4eb1862c0e51e9f650c9e08503",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-04 07:39:09 UTC",
    "User": "root"
  },
  "Author": "Jessica Grembi [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0001-6142-4913>),\nElizabeth Rogawski McQuade [ctb] (ORCID:\n<https://orcid.org/0000-0002-4942-3747>)",
  "Maintainer": "Jessica Grembi <jess.grembi@gmail.com>",
  "MD5sum": "975bf57e7cb6a85b4a8cd75fcb889881",
  "_user": "jgrembi",
  "_type": "src",
  "_file": "riskCommunicator_1.0.1.tar.gz",
  "_fileid": "a27f997f1eb84da0a40965d7866ee16484dc161a8ed0c0ad2bbceaa42456106e",
  "_filesize": 1652816,
  "_sha256": "a27f997f1eb84da0a40965d7866ee16484dc161a8ed0c0ad2bbceaa42456106e",
  "_created": "2026-06-04T07:39:09.000Z",
  "_published": "2026-06-04T07:43:16.658Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79472074468,
      "time": 192,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7405747588"
    },
    {
      "job": 79472074463,
      "time": 174,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7405741507"
    },
    {
      "job": 79472074446,
      "time": 208,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7405739673"
    },
    {
      "job": 79472074442,
      "time": 170,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7405730528"
    },
    {
      "job": 79470353333,
      "time": 708,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7405684337"
    },
    {
      "job": 79472074441,
      "time": 140,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7405729902"
    },
    {
      "job": 79472074563,
      "time": 136,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7405728458"
    },
    {
      "job": 79472074485,
      "time": 143,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7405731163"
    },
    {
      "job": 79472074496,
      "time": 125,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7405725489"
    }
  ],
  "_buildurl": "https://github.com/r-universe/jgrembi/actions/runs/26937393390",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/jgrembi/riskcommunicator",
  "_commit": {
    "id": "548afe7bb28c4b4eb1862c0e51e9f650c9e08503",
    "author": "Jess Grembi <jess.grembi@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Update README.md",
    "time": 1675057453
  },
  "_maintainer": {
    "name": "Jessica Grembi",
    "email": "jess.grembi@gmail.com",
    "login": "jgrembi",
    "orcid": "0000-0001-6142-4913",
    "description": "",
    "uuid": 7432315
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "boot",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "ggpubr",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "tidyverse",
      "role": "Suggests"
    },
    {
      "package": "printr",
      "role": "Suggests"
    },
    {
      "package": "stringr",
      "role": "Suggests"
    },
    {
      "package": "formatR",
      "role": "Suggests"
    },
    {
      "package": "sandwich",
      "role": "Suggests"
    }
  ],
  "_owner": "jgrembi",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 6,
  "_contributors": [
    {
      "user": "jgrembi",
      "count": 299,
      "uuid": 7432315
    },
    {
      "user": "rogawskimcquade",
      "count": 3,
      "uuid": 46794382
    }
  ],
  "_userbio": {
    "uuid": 7432315,
    "type": "user",
    "name": "Jess Grembi"
  },
  "_downloads": {
    "count": 458,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/riskCommunicator"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/jgrembi/riskcommunicator",
  "_searchresults": 29,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/riskCommunicator.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/jgrembi/riskcommunicator",
  "_realowner": "jgrembi",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2020-06-26"
    },
    {
      "version": "1.0.0",
      "date": "2022-02-14"
    },
    {
      "version": "1.0.1",
      "date": "2022-06-01"
    }
  ],
  "_exports": [
    "gComp",
    "pointEstimate"
  ],
  "_datasets": [
    {
      "name": "cvdd",
      "title": "A subset of the 'framingham' teaching data",
      "object": "cvdd",
      "class": [
        "data.frame"
      ],
      "fields": [
        "RANDID",
        "SEX",
        "TOTCHOL",
        "AGE",
        "SYSBP",
        "DIABP",
        "CURSMOKE",
        "CIGPDAY",
        "BMI",
        "DIABETES",
        "BPMEDS",
        "HEARTRTE",
        "GLUCOSE",
        "educ",
        "PREVSTRK",
        "PREVHYP",
        "DEATH",
        "ANGINA",
        "HOSPMI",
        "MI_FCHD",
        "ANYCHD",
        "STROKE",
        "CVD",
        "HYPERTEN",
        "cvd_dth",
        "timeout",
        "drop",
        "glucoseyear6",
        "logpdays",
        "bmicat",
        "nhosp"
      ],
      "rows": 4240,
      "table": true,
      "tojson": true
    },
    {
      "name": "framingham",
      "title": "The 'framingham' data set",
      "object": "framingham",
      "class": [
        "spec_tbl_df",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "RANDID",
        "SEX",
        "TOTCHOL",
        "AGE",
        "SYSBP",
        "DIABP",
        "CURSMOKE",
        "CIGPDAY",
        "BMI",
        "DIABETES",
        "BPMEDS",
        "HEARTRTE",
        "GLUCOSE",
        "educ",
        "PREVCHD",
        "PREVAP",
        "PREVMI",
        "PREVSTRK",
        "PREVHYP",
        "TIME",
        "PERIOD",
        "HDLC",
        "LDLC",
        "DEATH",
        "ANGINA",
        "HOSPMI",
        "MI_FCHD",
        "ANYCHD",
        "STROKE",
        "CVD",
        "HYPERTEN",
        "TIMEAP",
        "TIMEMI",
        "TIMEMIFC",
        "TIMECHD",
        "TIMESTRK",
        "TIMECVD",
        "TIMEDTH",
        "TIMEHYP"
      ],
      "rows": 11627,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "cvdd",
      "title": "A subset of the 'framingham' teaching data",
      "topics": [
        "cvdd"
      ]
    },
    {
      "page": "framingham",
      "title": "The 'framingham' data set",
      "topics": [
        "framingham"
      ]
    },
    {
      "page": "gComp",
      "title": "Estimate difference and ratio effects with 95% confidence intervals.",
      "topics": [
        "gComp"
      ]
    },
    {
      "page": "get_results_dataframe",
      "title": "Take predicted dataframe and calculate the outcome (risk difference/ratio, incidence rate difference/ratio, mean difference, and/or number needed to treat)",
      "topics": [
        "get_results_dataframe"
      ]
    },
    {
      "page": "make_predict_df",
      "title": "Using 'glm' results, predict outcomes for each individual at each level of treatment/exposure",
      "topics": [
        "make_predict_df"
      ]
    },
    {
      "page": "plot.gComp",
      "title": "Plot estimates of difference and ratio effects obtained in the bootstrap computations of the g-computation",
      "topics": [
        "plot.gComp"
      ]
    },
    {
      "page": "pointEstimate",
      "title": "Perform g-computation to estimate difference and ratio effects of an exposure",
      "topics": [
        "pointEstimate"
      ]
    },
    {
      "page": "print.gComp",
      "title": "Print estimates of difference and ratio effects obtained in the bootstrap computations of the g-computation",
      "topics": [
        "print.gComp"
      ]
    },
    {
      "page": "riskCommunicator",
      "title": "riskCommunicator: Obtaining interpretable epidemiological effect estimates",
      "topics": [
        "riskCommunicator"
      ]
    },
    {
      "page": "summary.gComp",
      "title": "Print a summary of a gComp class object.",
      "topics": [
        "print.summary.gComp",
        "summary.gComp"
      ]
    }
  ],
  "_readme": "https://github.com/jgrembi/riskcommunicator/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "boot",
    "broom",
    "car",
    "carData",
    "cli",
    "colorspace",
    "corrplot",
    "cowplot",
    "cpp11",
    "Deriv",
    "doBy",
    "dplyr",
    "farver",
    "forecast",
    "Formula",
    "fracdiff",
    "generics",
    "ggplot2",
    "ggpubr",
    "ggrepel",
    "ggsci",
    "ggsignif",
    "glue",
    "gridExtra",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "lme4",
    "lmtest",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixModels",
    "mgcv",
    "microbenchmark",
    "minqa",
    "modelr",
    "nlme",
    "nloptr",
    "nnet",
    "numDeriv",
    "pbkrtest",
    "pillar",
    "pkgconfig",
    "polynom",
    "purrr",
    "quantreg",
    "R6",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "rlang",
    "rstatix",
    "S7",
    "scales",
    "SparseM",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "timeDate",
    "urca",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "Vignette_newbieRusers.Rmd",
      "filename": "Vignette_newbieRusers.html",
      "title": "riskCommunicator package extended vignette",
      "author": "Jessica Grembi, Elizabeth Rogawski McQuade",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction to riskCommunicator",
        "Getting started",
        "Installation",
        "Description of main package function and accessing package documentation",
        "Preparing your data",
        "Vignette with the Framingham Heart Study",
        "Binary (dichotomous) outcome example",
        "Categorical exposure example",
        "Continuous exposure example",
        "Rate outcome example",
        "Continuous outcome example",
        "Count outcome example",
        "Checking model fit",
        "Guidance on number of bootstraps",
        "What's going on under the hood"
      ],
      "created": "2020-04-01 22:08:50",
      "modified": "2022-05-26 23:52:56",
      "commits": 43
    },
    {
      "source": "Vignette_manuscript.Rmd",
      "filename": "Vignette_manuscript.html",
      "title": "riskCommunicator Manuscript Vignette",
      "author": "Jessica Grembi, Elizabeth Rogawski McQuade",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction to riskCommunicator",
        "Getting started",
        "Installation",
        "Description of main package function",
        "Framingham Heart Study",
        "Binary outcome example",
        "Checking model fit",
        "In the manuscript, we compare the results of gComp to standard regression models. Here, we show how to do that so we can re-create Table 2.",
        "Rate outcome example",
        "Rate outcome with subgroups example",
        "The results.df component of the gComp function output is formatted as a data.frame.  This makes it very easy to immediately plot the results using ggplot2 or your favorite R plotting functionality.  Here's an example for plotting the results of the different subgroups (sexes) for the rate example above.",
        "Let's make a figure comparing the results we got above using riskCommunicator with those we get using standard regression models for this rate example."
      ],
      "created": "2020-06-03 19:53:50",
      "modified": "2022-05-27 07:05:00",
      "commits": 20
    }
  ],
  "_score": 5.2405492482825995,
  "_indexed": true,
  "_nocasepkg": "riskcommunicator",
  "_universes": [
    "jgrembi"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-06-04T07:41:43.000Z",
      "distro": "noble",
      "commit": "548afe7bb28c4b4eb1862c0e51e9f650c9e08503",
      "fileid": "498fa25e7d778c36dba9ec9a29c8064a10a53d4729cb0e2723059b6e4c03e9f9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jgrembi/actions/runs/26937393390"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-06-04T07:41:25.000Z",
      "distro": "noble",
      "commit": "548afe7bb28c4b4eb1862c0e51e9f650c9e08503",
      "fileid": "125ec6aed475520dcc8bca91f76d2eef5456d2035e9b44cba218611ed484993f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jgrembi/actions/runs/26937393390"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-06-04T07:41:36.000Z",
      "commit": "548afe7bb28c4b4eb1862c0e51e9f650c9e08503",
      "fileid": "010e3704f9b8aa1b0d2348f4848d2272c28e02d470b19454f12d50c09ee2bd7e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jgrembi/actions/runs/26937393390"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-06-04T07:41:11.000Z",
      "commit": "548afe7bb28c4b4eb1862c0e51e9f650c9e08503",
      "fileid": "ccdf3ed1c94f8c7d4a365a751a4b4f474ffbef39d453c6b639b2c4cdf5381343",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jgrembi/actions/runs/26937393390"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.1",
      "date": "2026-06-04T07:41:45.000Z",
      "commit": "548afe7bb28c4b4eb1862c0e51e9f650c9e08503",
      "fileid": "1ba88d252822ccb2111695bea87c5a0e197f5ca7a73f10c5cc0cc2839c6ffd84",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jgrembi/actions/runs/26937393390"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-06-04T07:40:35.000Z",
      "commit": "548afe7bb28c4b4eb1862c0e51e9f650c9e08503",
      "fileid": "8622c58ee61900d5b25ef2919688d0dcce0343d08e16655a7d48bb496113d524",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jgrembi/actions/runs/26937393390"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-06-04T07:40:34.000Z",
      "commit": "548afe7bb28c4b4eb1862c0e51e9f650c9e08503",
      "fileid": "63ff36d73e7ee02e1474557c33f62dbc0535ddc62078d5318d22d3af4828f5be",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jgrembi/actions/runs/26937393390"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-06-04T07:40:31.000Z",
      "commit": "548afe7bb28c4b4eb1862c0e51e9f650c9e08503",
      "fileid": "5d40758ec33801c5f365bbb8af199d84a43ad86d5387e87037b467f913c3fb40",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jgrembi/actions/runs/26937393390"
    }
  ]
}