Skip to content

propensity

0.1.0Package record

A Toolkit for Calculating and Working with Propensity Scores

1packages dependsuggested by 1
2.8Kdownloads / year
84.8%test coverage
13/13flavors OK

Overview

About

Calculates propensity score weights for multiple causal 'estimands' across binary, continuous, and categorical exposures. Provides methods for handling extreme propensity scores through trimming, truncation, and calibration. Includes inverse probability weighted estimators that correctly account for propensity score estimation uncertainty.

Install

Health

CRAN checks
13OK
Slowest check: 2.3 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-28
  • ERROR12 OK, 1 ERROR2026-08-26
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.1.0
READMEYes · 256 wordsVignettesYes · 1 · dynamicNEWSNoCitation fileNoWebsiteYes · pkgdown
Help pages
16includes a package overview page
Examples that run
100%15 run in a plain check
Exported functions with examples
100%
Documented parameters
97%
Return-value docs
100%
Help pages citing references
31%

Downloads

2.8K
CRAN downloads in the past year
Rank #10,225 · ~8/day · ~235/mo
Daily download trend is not available in this view yet.
33230 days
96990 days
2.8K1 year
Compare downloads with other packages →
Also on55 r2u6 autocran

Repository

26Stars
6Forks
0Open issues
0Open PRs
1Releases
739Commits
2Commit identities
739 commits · Last activity 2026-10-04 · +8.3% stars, 30d · Default branch at 0.1.0.9000, ahead of CRAN 0.1.0 (checked 2026-10-11)
Responsiveness
How these are sampled
PRs merged (all time)
96%
Median days to close, 50 most recently updated closed issues
193
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-10-09 · 232026-09-30 · 26
PracticesBeta

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

Checks run against github.com/r-causal/propensity on 2026-10-11.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-10-04 · The repository has a site deploy workflow

pkgdown site last built 2026-10-04

Coverage (1)
Coverage reporting (Codecov)
CRAN release process (1)
cran-comments.md
Show all practicesHide 1 practice
Lint, format, editor (4)
Lint workflowAirVS CodeRStudio project
How this is detected·Detection ruleset v3 (2026-09-26)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen 2025-07-17
    Named in .Rbuildignore: .claude, CLAUDE.md
    Named in .gitignore: .claude, CLAUDE.md
  • GitHub Copilotfirst seen 2025-07-27
    Pull request: opened by its own account
How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
18 external dependencies (excludes base and recommended)

Installing propensity adds 7 packages (5 with compiled code, 2.8 MB of source tarballs). Heaviest: vctrs 1.0 MB, rlang 766 KB, cli 629 KB.

Depends (1)
R >= 4.2.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect
Imports 1
Suggested by 1
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

People & History

People (1)
Author, Maintainer since 0.1.0 (2026), Copyright holder
Releases (1)
  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.0Latest
    2026-03-02 · current release
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2026-03-02
Total releases
1 / 1 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.2.0
Download size
900 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("propensity")
Barrett, M. (2026). propensity: A Toolkit for Calculating and Working with Propensity Scores (Version 0.1.0) [Computer software]. https://doi.org/10.32614/CRAN.package.propensity

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

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 propensity version 0.1.0 [Data set]. HJJB, LLC. Data release v2026-10-17. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-17, 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