Skip to content

riskCommunicator

G-Computation to Estimate Interpretable Epidemiological Effects

v1.0.1 · May 31, 2022 · GPL-3

Description

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>.

Downloads

CRAN

524

Last 30 days

7604th

1.6K

Last 90 days

6K

Last year

Trend: +19.1% (30d vs prior 30d)

r2u

9

Last 30 days

24

Last 90 days

118

Last year

Trend: -40% (30d vs prior 30d)

r2u: no daily series yet

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

package dependencies

Package required but not available: ‘ggpubr’

Package suggested but not available for checking: ‘tidyverse’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (1)

suggests

Dependency Network

Dependencies Reverse dependencies boot dplyr ggplot2 ggpubr magrittr MASS purrr rlang tidyr tidyselect BiVariAn riskCommunicator

Version History

4 tracked
new 1.0.1 Mar 10, 2026
updated 1.0.1 ← 1.0.0 diff May 31, 2022
updated 1.0.0 ← 0.1.0 diff Feb 13, 2022
new 0.1.0 Jun 25, 2020