weights: Weighting and Weighted Statistics (original) (raw)

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.2
Imports: Hmisc, mice, gdata, stats, graphics, utils, lme4
Suggests: pscl, vioplot, glmnet, nnet, MASS, mgcv
Published: 2025-06-18
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
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: yes
Materials:
In views: OfficialStatistics
CRAN checks: weights results

Documentation:

Downloads:

Reverse dependencies:

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

Linking:

Please use the canonical formhttps://CRAN.R-project.org/package=weightsto link to this page.