Skip to content

twang

2.6.2Package record

Toolkit for Weighting and Analysis of Nonequivalent Groups

11packages dependsuggested by 2
50.4Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

Provides functions for propensity score estimating and weighting, nonresponse weighting, and diagnosis of the weights.

Install

Health

CRAN checks
13OK
Slowest check: 9.1 min · r-oldrel-macos-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 2.6.2
READMENoVignettesYes · 3 · dynamicNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
Help pages
44includes a package overview page
Examples that run
100%1 run in a plain check
Exported functions with examples
0%
Documented parameters
100%
Return-value docs
85%
Help pages citing references
32%

Downloads

50.4K
CRAN downloads in the past year
Rank #2,107 · ~138/day · ~4.2K/mo
Daily download trend is not available in this view yet.
2.8K30 days
8.6K90 days
50.4K1 year
Compare downloads with other packages →
Also on485 r2u6 autocran2.4K conda_forge117 c2d4u

Dependencies

Declared dependencies
9 external dependencies (excludes base and recommended)

Installing twang adds 36 packages (20 with compiled code, 33 MB of source tarballs). Heaviest: ggplot2 6.0 MB, data.table 5.7 MB, survey 2.3 MB.

Depends (1)
R >= 2.10
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Reverse dependencies
11direct
0indirect
Depends 1 · Imports 10
Suggested by 2
Show all 13 packagesHide all 13 packages
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

Datasets

People & History

People (6)
Author, Maintainer since 2.6 (2023) · added in 1.2-4
Author · added in 1.6
Author · added in 1.2-4

Previously maintained by Matthew Cefalu (1.6 to 2.5) and Lane Burgette (1.2-4 to 1.5).

Listed in earlier versions (2)
Beth Ann
no longer listed · 1.4-0 to 1.4-9.3
Griffin
no longer listed · 2.6.2
Releases (30)

Pick two releases to compare their code metrics.

Show 42 earlier eventsHide 42 earlier events
  • 1.6
    record
    2020-02-27 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • 1.5
    record
    2017-07-02 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • 1.4-9.5
    record
    2016-04-29 · diff ↗ ·
    added 4 exports
    iptw, sensitivity, get.weights.unstab, get.weights.num
  • R
    R 3.2.0 released · 2015-04-16
  • 1.4-9.3
    record
    2015-02-02 · diff ↗
  • R
    R 3.1.0 released · 2014-04-10
  • 1.4-0
    record
    2014-03-18 · diff ↗
  • 1.3-20
    record
    2013-10-11 · diff ↗ ·
    removed 1 export
    sensitivity
  • 1.3-18
    record
    2013-05-03 · diff ↗ ·
    removed 1 export
    ps.summary
  • 1.3-14
    record
    2013-04-10 · diff ↗
  • R
    R 3.0.0 released · 2013-04-03
  • 1.3-11
    record
    2013-03-09 · diff ↗ ·
    added 2 exports
    mnps, means.table
  • 1.2-7
    record
    2012-10-09 · diff ↗
  • 1.2-6
    record
    2012-09-18 · diff ↗
  • R
    R 2.15.0 released · 2012-03-30
  • 1.2-5
    record
    2012-03-08 · diff ↗ ·
    added 2 exports
    sensitivity, bal.stat
  • 1.2-4
    record
    2012-02-22 · diff ↗ ·
    removed 1 export
    pattern:.
    added 6 exports
    ps, dx.wts, get.weights, bal.table, ps.summary, stop.methods
  • 1.0-3
    record
    2011-11-14 · diff ↗ ·
    added 1 export
    pattern:.
  • R
    R 2.14.0 released · 2011-10-31
  • R
    R 2.13.0 released · 2011-04-13
  • R
    R 2.12.0 released · 2010-10-15
  • 1.0-2
    record
    2010-08-07 · diff ↗
  • R
    R 2.11.0 released · 2010-04-22
  • R
    R 2.10.0 released · 2009-10-26
  • R
    R 2.9.0 released · 2009-04-17
  • R
    R 2.8.0 released · 2008-10-20
  • R
    R 2.7.0 released · 2008-04-22
  • R
    R 2.6.0 released · 2007-10-03
  • R
    R 2.5.0 released · 2007-04-24
  • R
    R 2.4.0 released · 2006-10-03
  • 1.0-1
    record
    2006-06-29 · diff ↗
  • 0.6-7
    record
    2006-05-19 · diff ↗
  • R
    R 2.3.0 released · 2006-04-24
  • 0.6-5
    record
    2006-04-15 · diff ↗
  • 0.6-4
    record
    2006-03-16 · diff ↗
  • 0.6-2
    record
    2006-02-15 · diff ↗
  • 0.6-1
    record
    2006-02-09
  • R
    R 2.2.0 released · 2005-10-06

Package metadata

First published
2006-02-09
Total releases
30 / 20 yrs
License
GPL-3 | file LICENSE OSI
Minimum R
≥ 2.10
Bundled data
291 KB / 9 files
Download size
2.0 MB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("twang")
Burgette, L., Cefalu, M., Griffin, B. A., McCaffrey, D., Morral, A., & Ridgeway, G. (2025). twang: Toolkit for Weighting and Analysis of Nonequivalent Groups (Version 2.6.2) [Computer software]. https://doi.org/10.32614/CRAN.package.twang

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

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