The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

weights: Weighting and Weighted Statistics

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.

Version: 1.1.1
Imports: Hmisc, mice, gdata, stats, graphics, utils, lme4
Suggests: pscl, vioplot, glmnet, nnet, MASS, mgcv
Published: 2025-06-10
DOI: 10.32614/CRAN.package.weights
Author: Josh Pasek ORCID iD [aut, cre], Alex Tahk ORCID iD [ctb], Gene Culter [ctb], Marcus Schwemmle [ctb], Some code modified from R-core [ctb]
Maintainer: Josh Pasek <josh at joshpasek.com>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: yes
Materials: NEWS
In views: OfficialStatistics
CRAN checks: weights results

Documentation:

Reference manual: weights.pdf

Downloads:

Package source: weights_1.1.1.tar.gz
Windows binaries: r-devel: weights_1.1.1.zip, r-release: weights_1.1.1.zip, r-oldrel: weights_1.1.1.zip
macOS binaries: r-release (arm64): weights_1.1.1.tgz, r-oldrel (arm64): weights_1.1.1.tgz, r-release (x86_64): weights_1.0.4.tgz, r-oldrel (x86_64): weights_1.0.4.tgz
Old sources: weights archive

Reverse dependencies:

Reverse depends: anesrake
Reverse imports: AMISforInfectiousDiseases, chartreview, DeepLearningCausal, exploratory, ezr, lctools, maic, matchMulti, poliscidata, PPbigdata, RCPA3, smacof, smacofx, smicd, SuperCell
Reverse suggests: eatRep, jtools

Linking:

Please use the canonical form https://CRAN.R-project.org/package=weights to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.