Learn R Programming

MCDM (version 1.2)

RIM: Implementation of RIM Method for Multi-Criteria Decision Making Problems.

Description

The RIM function implements the Reference Ideal Method (RIM).

Usage

RIM(decision, weights, AB, CD)

Arguments

decision
The decision matrix (m x n) with the values of the m alternatives, for the n criteria.
weights
A vector of length n, containing the weights for the criteria. The sum of the weights has to be 1.
AB
A matrix (2 x n). AB[1,] corresponds with the A extrem, and AB[2,] represents the B extrem of the domain of each criterion.
CD
A matrix (2 x n). CD[1,] corresponds with the C extrem, and CD[2,] represents the D extrem of the ideal reference of each criterion.

Value

RIM returns a data frame which contains the score of the R index and the ranking of the alternatives.

References

Cables, E.; Lamata, M.T.; Verdegay, J.L. RIM-reference ideal method in multicriteria decision making. Information Science, 337-338, 1-10, 2016.

Examples

Run this code

 d <- matrix(c(30,40,25,27,45,0,9,0,0,15,2,1,3,5,2,3,3,1,3,2,3,2,3,3,3,2,2,2,1,4),
 nrow = 5, ncol = 6)
 w <- c(0.2262,0.2143,0.1786,0.1429,0.119,0.119)
 AB = matrix(c(23,60,0,15,0,10,1,3,1,3,1,5),nrow = 2,ncol = 6)
 CD = matrix(c(30,35,10,15,0,0,3,3,3,3,4,5),nrow = 2,ncol = 6)
 RIM(d,w,AB,CD)

Run the code above in your browser using DataLab