rii_weighted: Weighted RII Calculation
Description
This function computes the weighted Relative Importance Index (RII) for a set of ordinal responses with associated weights.
Usage
rii_weighted(responses, weights, max_scale = 5)
Value
The weighted RII as a numeric value.
Arguments
- responses
Numeric vector of ordinal responses.
- weights
Numeric vector of weights for each response.
- max_scale
Max Likert scale value (default: 5).