Skip to content

weights

1.1.2

Weighting and Weighted Statistics

18packages depend
148.3Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Josh PasekFirst published 2011-03-0519 releasesCRAN page ↗

Provides a variety of functions for producing simple weighted statistics, such as weighted Pearson's correlations, partial correlations, Chi-Squared statistics, histograms, and t-tests as well as simple weighting graphics including weighted histograms, box plots, bar plots, and violin plots. Also includes software for quickly recoding survey data and plotting estimates from interaction terms in regressions (and multiply imputed regressions) both with and without weights and summarizing various types of regressions. Some portions of this package were assisted by AI-generated suggestions using OpenAI's GPT model, with human review and integration.

Install

Health

CRAN checks
13OK
Slowest check: 4.3 min · r-devel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
7
Dependencies · direct
Check history
  • OK2026-08-04
    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 2 earlier snapshots
  • ERROR2026-04-25
    11 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSYes · 33% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
96%
Return-value docs
100%
References docs
0%

Downloads

148.3K
CRAN downloads in the past year
Rank #1,157 · ~406/day · ~12.4K/mo
Daily download trend is not available in this view yet.
9.9K30 days
30.4K90 days
148.3K1 year
Compare downloads with other packages →
Also on777 r2u15 autocran4.2K conda_forge583 c2d4u

Dependencies

Declared dependencies
7 external dependencies (excludes base and recommended)
Depends (0)
none
Imports (7)
Hmiscmicegdatastatsgraphicsutilslme4
LinkingTo (0)
none
Suggests (6)
psclvioplotglmnetnnetMASSmgcv
Enhances (0)
none

Code & Tests

Datasets

People & History

People (5)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Contributors (4)
Contributor · added in 1.1.1
Contributor · added in 1.1.1
Contributor · added in 1.1.1
Listed in earlier versions (3)
no longer listed · 2.15.2 to 1.0.4
no longer listed · 2.15.2 to 1.0.4
Package Timeline

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

  • R
    R 4.6.0 released · 2026-04-24
  • 1.1.2Latest
    2025-06-18 · current release · diff ↗
  • 1.1.1
    2025-06-10 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 1.0.4
    2021-06-10 · diff ↗
  • 1.0.3
    2021-06-09 · diff ↗
  • 1.0.2
    2021-05-27 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 1.0.1
    2020-02-12 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 1.0
    2018-10-17 · diff ↗
  • 0.90
    2018-04-27 · diff ↗
Show 22 earlier events
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • 0.85
    2016-02-12 · diff ↗
  • R
    R 3.2.0 released · 2015-04-16
  • R
    R 3.1.0 released · 2014-04-10
  • 0.80
    2014-03-04 · diff ↗
  • R
    R 3.0.0 released · 2013-04-03
  • removedRemoved from CRAN
    2012-09-07
    copyright violation
  • 0.75
    2012-08-17 · diff ↗
  • 2.15.2
    2012-08-03 · diff ↗
  • R
    R 2.15.0 released · 2012-03-30
  • 0.72
    2012-02-24 · diff ↗
  • 0.71
    2011-12-21 · diff ↗
  • R
    R 2.14.0 released · 2011-10-31
  • 0.70
    2011-08-16 · diff ↗
  • 2.13.2
    2011-08-11 · diff ↗
  • 0.65
    2011-04-28 · diff ↗
  • R
    R 2.13.0 released · 2011-04-13
  • 0.6
    2011-03-05 · diff ↗
  • 2.13.0
    2011-02-26
  • R
    R 2.12.0 released · 2010-10-15

Package metadata

First published
2011-03-05
Total releases
19 / 15 yrs
License
GPL (>= 2) OSI
Bundled data
4.2 KB / 1 file
Download size
47 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("weights")
Pasek, J., Some code modified from R-core, Culter, G., Schwemmle, M., & Tahk, A. (2025). weights: Weighting and Weighted Statistics (Version 1.1.2) [Computer software]. https://doi.org/10.32614/CRAN.package.weights

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 weights version 1.1.2 [Data set]. HJJB, LLC. Data release v2026-08-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-18, 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