Package: weights 1.0.4

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. Also now includes some software for quickly recoding survey data and plotting estimates from interaction terms in regressions (and multiply imputed regressions) both with and without weights. NOTE: Weighted partial correlation calculations pulled to address a bug.

Authors:Josh Pasek [aut, cre], with some assistance from Alex Tahk and some code modified from R-core; Additional contributions by Gene Culter and Marcus Schwemmle.

weights_1.0.4.tar.gz
weights_1.0.4.zip(r-4.5)weights_1.0.4.zip(r-4.4)weights_1.0.4.zip(r-4.3)
weights_1.0.4.tgz(r-4.5-x86_64)weights_1.0.4.tgz(r-4.5-arm64)weights_1.0.4.tgz(r-4.4-x86_64)weights_1.0.4.tgz(r-4.4-arm64)weights_1.0.4.tgz(r-4.3-x86_64)weights_1.0.4.tgz(r-4.3-arm64)
weights_1.0.4.tar.gz(r-4.5-noble)weights_1.0.4.tar.gz(r-4.4-noble)
weights_1.0.4.tgz(r-4.4-emscripten)weights_1.0.4.tgz(r-4.3-emscripten)
weights.pdf |weights.html
weights/json (API)

# Install 'weights' in R:
install.packages('weights', repos = c('https://jmping.r-universe.dev', 'https://cloud.r-project.org'))
Datasets:
  • anes04 - Demographic Data From 2004 American National Election Studies

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

6.20 score 40 packages 590 scripts 7.4k downloads 3 mentions 22 exports 108 dependencies

Last updated 4 years agofrom:7aaf00b017. Checks:8 OK, 4 NOTE. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 27 2025
R-4.5-win-x86_64NOTEMar 27 2025
R-4.5-mac-x86_64NOTEMar 27 2025
R-4.5-mac-aarch64NOTEMar 27 2025
R-4.5-linux-x86_64NOTEMar 27 2025
R-4.4-win-x86_64OKMar 27 2025
R-4.4-mac-x86_64OKMar 27 2025
R-4.4-mac-aarch64OKMar 27 2025
R-4.4-linux-x86_64OKMar 27 2025
R-4.3-win-x86_64OKMar 27 2025
R-4.3-mac-x86_64OKMar 27 2025
R-4.3-mac-aarch64OKMar 27 2025

Exports:dummifyfindwtdinteractionfindwtdinteraction.defaultfindwtdinteraction.listfindwtdinteraction.lmerModfindwtdinteraction.mirafindwtdinteraction.multinomnalevsplotinteractpredsplotinteractpreds.defaultplotinteractpreds.interactpredsplotinteractpreds.interactpredsmnlplotwtdinteractionrdstarmakerstdzwpctwtd.chi.sqwtd.corwtd.corswtd.histwtd.t.test

Dependencies:backportsbase64encbitbit64bootbroombslibcachemcheckmateclicliprclustercodetoolscolorspacecpp11crayondata.tabledigestdplyrevaluatefansifarverfastmapfontawesomeforcatsforeachforeignFormulafsgdatagenericsggplot2glmnetgluegridExtragtablegtoolshavenhighrHmischmshtmlTablehtmltoolshtmlwidgetsisobanditeratorsjomojquerylibjsonliteknitrlabelinglatticelifecyclelme4magrittrMASSMatrixmemoisemgcvmicemimeminqamitmlmunsellnlmenloptrnnetnumDerivordinalpanpillarpkgconfigprettyunitsprogresspurrrR6rappdirsrbibutilsRColorBrewerRcppRcppEigenRdpackreadrreformulasrlangrmarkdownrpartrstudioapisassscalesshapestringistringrsurvivaltibbletidyrtidyselecttinytextzdbucminfutf8vctrsviridisviridisLitevroomwithrxfunyaml