Package: riskCommunicator 1.0.1

Jessica Grembi

riskCommunicator: G-Computation to Estimate Interpretable Epidemiological Effects

Estimates flexible epidemiological effect measures including both differences and ratios using the parametric G-formula developed as an alternative to inverse probability weighting. It is useful for estimating the impact of interventions in the presence of treatment-confounder-feedback. G-computation was originally described by Robbins (1986) <doi:10.1016/0270-0255(86)90088-6> and has been described in detail by Ahern, Hubbard, and Galea (2009) <doi:10.1093/aje/kwp015>; Snowden, Rose, and Mortimer (2011) <doi:10.1093/aje/kwq472>; and Westreich et al. (2012) <doi:10.1002/sim.5316>.

Authors:Jessica Grembi [aut, cre, cph], Elizabeth Rogawski McQuade [ctb]

riskCommunicator_1.0.1.tar.gz
riskCommunicator_1.0.1.zip(r-4.7-any)riskCommunicator_1.0.1.zip(r-4.6-any)riskCommunicator_1.0.1.zip(r-4.5-any)
riskCommunicator_1.0.1.tgz(r-4.6-any)riskCommunicator_1.0.1.tgz(r-4.5-any)
riskCommunicator_1.0.1.tar.gz(r-4.7-any)riskCommunicator_1.0.1.tar.gz(r-4.6-any)
riskCommunicator_1.0.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
riskCommunicator/json (API)

# Install 'riskCommunicator' in R:
install.packages('riskCommunicator', repos = c('https://epiverse-connect.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/jgrembi/riskcommunicator/issues

Datasets:
  • cvdd - A subset of the 'framingham' teaching data
  • framingham - The 'framingham' data set

On CRAN:

Conda:

5.32 score 6 stars 35 scripts 826 downloads 1 mentions 2 exports 76 dependencies

Last updated from:548afe7bb2. Checks:9 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-develOK190
source / vignettesOK628
linux-releaseOK152
macos-releaseOK135
macos-oldrelOK136
windows-develOK169
windows-releaseOK129
windows-oldrelOK128
wasm-releaseOK137

Exports:gComppointEstimate

Dependencies:abindbackportsbootbroomcarcarDataclicolorspacecorrplotcowplotcpp11DerivdoBydplyrfarverforecastFormulafracdiffgenericsggplot2ggpubrggrepelggsciggsignifgluegridExtragtableisobandlabelinglatticelifecyclelme4lmtestmagrittrMASSMatrixMatrixModelsmgcvminqamodelrnlmenloptrnnetnumDerivpbkrtestpillarpkgconfigpolynompurrrquantregR6rbibutilsRColorBrewerRcppRcppArmadilloRcppEigenRdpackreformulasrlangrstatixS7scalesSparseMstringistringrsurvivaltibbletidyrtidyselecttimeDateurcautf8vctrsviridisLitewithrzoo

riskCommunicator Manuscript Vignette
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.

Last update: 2022-05-27
Started: 2020-06-03

riskCommunicator package extended vignette
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

Last update: 2022-05-26
Started: 2020-04-01