Skip to content

CausalGPS

0.5.1

Matching on Generalized Propensity Scores with Continuous Exposures

0packages depend
6.9Kdownloads / year
68.7%test coverage
13/13checks pass

Overview

About
Maintained by Naeem KhoshnevisFirst published 2021-07-2312 releasesCRAN page ↗GitHub ↗

Provides a framework for estimating causal effects of a continuous exposure using observational data, and implementing matching and weighting on the generalized propensity score. Wu, X., Mealli, F., Kioumourtzoglou, M.A., Dominici, F. and Braun, D., 2022. Matching on generalized propensity scores with continuous exposures. Journal of the American Statistical Association, pp.1-29.

Install

Health

CRAN checks
13OK
Slowest check: 4.9 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 5.64
68.7%
Coverage · measured lines
100%
Documentation · exports
18
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-05-02
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 6 earlier snapshots
  • ERROR2026-04-25
    11 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-04-22
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-30
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-03-28
    13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 650 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
55%
Documented parameters
100%
Return-value docs
100%
References docs
4%

Downloads

6.9K
CRAN downloads in the past year
Rank #7,670 · ~19/day · ~577/mo
Daily download trend is not available in this view yet.
30330 days
1.2K90 days
6.9K1 year
Compare downloads with other packages →
Also on441 r2u21 autocran44 c2d4u

Repository

Repository
27Stars
7Forks
6Open issues
0Open PRs
15Releases
708Commits
7Contributors
708 commits · Last activity 2026-01-12 · 0% stars, 30d

Stars over time

2025-04-29 · 252026-07-07 · 27

Repository practices

Upstream repositoryBeta

4 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/nsaph-software/causalgps on 2026-08-09.

Continuous integration (1)
GitHub Actions
CRAN release process (1)
cran-comments.md
Lint, format, editor (1)
RStudio project
Coverage (1)
.covrignore
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
22 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5.0
LinkingTo (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (3)
Maintainer (1)
Author, Maintainer
Authors (3)
Author, Maintainer
Author
Package Timeline

12 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.5.1Latest
    2026-01-11 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.5.0
    2024-06-19 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.4.2
    2024-04-13 · diff ↗
  • 0.4.1
    2023-09-30 · diff ↗
  • 0.4.0
    2023-05-25 · diff ↗
  • 0.3.1
    2023-05-16 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.3.0
    2023-02-15 · diff ↗
  • 0.2.9
    2022-12-16 · diff ↗
  • 0.2.8
    2022-06-23 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.2.7
    2022-02-07 · diff ↗
  • 0.2.6
    2021-09-06 · diff ↗
Show 4 earlier events
  • unarchivedReturned to CRAN
    2021-09-06
  • archivedRemoved from CRAN
    2021-08-07
    check problems were not corrected in time
  • 0.2.5
    2021-07-23
  • R
    R 4.1.0 released · 2021-05-18

Package metadata

First published
2021-07-23
Total releases
12 / 5 yrs
License
GPL-3 OSI
Minimum R
≥ 3.5.0
Bundled data
660 KB / 1 file
Download size
2.6 MB
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("CausalGPS")
Khoshnevis, N., Braun, D., & Wu, X. (2026). CausalGPS: Matching on Generalized Propensity Scores with Continuous Exposures (Version 0.5.1) [Computer software]. https://doi.org/10.32614/CRAN.package.CausalGPS

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for CausalGPS version 0.5.1 [Data set]. HJJB, LLC. Data release v2026-08-15. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-15, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy