Package: rwa 1.0.1
rwa: Perform a Relative Weights Analysis
Perform a Relative Weights Analysis (RWA) (a.k.a. Key Drivers Analysis) as per the method described in Tonidandel & LeBreton (2015) <doi:10.1007/s10869-014-9351-z>, with its original roots in Johnson (2000) <doi:10.1207/S15327906MBR3501_1>. In essence, RWA decomposes the total variance predicted in a regression model into weights that accurately reflect the proportional contribution of the predictor variables, which addresses the issue of multi-collinearity. In typical scenarios, RWA returns similar results to Shapley regression, but with a significant advantage on computational performance.
Authors:
rwa_1.0.1.tar.gz
rwa_1.0.1.zip(r-4.7-any)rwa_1.0.1.zip(r-4.6-any)rwa_1.0.1.zip(r-4.5-any)
rwa_1.0.1.tgz(r-4.6-any)rwa_1.0.1.tgz(r-4.5-any)
rwa_1.0.1.tar.gz(r-4.7-any)rwa_1.0.1.tar.gz(r-4.6-any)
rwa_1.0.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
rwa/json (API)
| # Install 'rwa' in R: |
| install.packages('rwa', repos = c('https://martinctc.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/martinctc/rwa/issues
Pkgdown/docs site:https://martinctc.github.io
Last updated from:cb869cfea9. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 163 | ||
| source / vignettes | OK | 232 | ||
| linux-release | OK | 158 | ||
| macos-release | OK | 132 | ||
| macos-oldrel | OK | 168 | ||
| windows-devel | OK | 105 | ||
| windows-release | OK | 114 | ||
| windows-oldrel | OK | 108 | ||
| wasm-release | OK | 116 |
Exports:%>%plot_rwaremove_all_na_colsrwarwa_logitrwa_multiregress
Dependencies:bootclicpp11dplyrfarvergenericsggplot2gluegtableisobandlabelinglifecyclemagrittrpillarpkgconfigpurrrR6RColorBrewerrlangS7scalesstringistringrtibbletidyrtidyselectutf8vctrsviridisLitewithr
Last update: 2026-09-17
Started: 2025-07-14
Last update: 2026-09-14
Started: 2025-07-14
Last update: 2026-09-14
Started: 2026-09-14
Last update: 2026-09-14
Started: 2026-01-22
Last update: 2026-01-20
Started: 2025-07-16
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Plot the rescaled importance values from the output of 'rwa()' | plot_rwa |
| Remove any columns where all the values are missing | remove_all_na_cols |
| Create a Relative Weights Analysis (RWA) | rwa |
| Create a Relative Weights Analysis with logistic regression | rwa_logit |
| Create a Relative Weights Analysis (RWA) | rwa_multiregress |