Skip to content

rwa

0.1.1

Perform a Relative Weights Analysis

0packages depend
5.7Kdownloads / year
73.1%test coverage
12/13checks pass

Overview

About
Maintained by Martin ChanFirst published 2020-11-243 releasesCRAN page ↗GitHub ↗

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.

Install

Health

CRAN checks
1NOTE12OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-gcc
Slowest check: 3.4 min · r-devel-linux-x86_64-fedora-clang
Code health
Yes
Tests · ratio 0.91
73.1%
Coverage · measured lines
75%
Documentation · exports
8
Dependencies · direct
Check history
  • 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-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 911 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
33%
References docs
0%

Downloads

5.7K
CRAN downloads in the past year
Rank #6,571 · ~16/day · ~474/mo
Daily download trend is not available in this view yet.
44830 days
1.4K90 days
5.7K1 year
Compare downloads with other packages →
Also on110 r2u

Repository

Repository
16Stars
9Forks
4Open issues
1Open PRs
2Releases
159Commits
3Contributors
relative-weightsrwar
159 commits · Last activity 2026-02-12 · 0% stars, 30d

Stars over time

2025-05-01 · 152026-07-07 · 16

Repository practices

Upstream repositoryBeta

4 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/martinctc/rwa on 2026-07-31.

Continuous integration (1)
GitHub Actions
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
10 external dependencies (excludes base and recommended)
Depends (0)
none
Imports (8)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Package Timeline

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

  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.1Latest
    2026-01-20 · current release · diff ↗
  • 0.1.0
    2025-07-16 · 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
  • R
    R 4.1.0 released · 2021-05-18
  • 0.0.3
    2020-11-24
  • R
    R 4.0.0 released · 2020-04-24

Package metadata

First published
2020-11-24
Total releases
3 / 6 yrs
License
GPL-3 OSI
Download size
132 KB
Installed size
not tracked yet
With dependencies
not tracked yet
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