MetaRanking
function internally calls functions MMOORA
, RIM
, TOPSISLinear
, TOPSISVector
, VIKOR
and WASPAS
and then calculates a sum of the their rankings and an aggregated ranking by applying the RankAggreg
package.
MetaRanking(decision, weights, cb, lambda, v, AB, CD)
cb(i)='max'
if the i-th criterion is benefit or cb(i)='min'
if the i-th criterion is a cost.MetaRanking
returns a data frame which contains the rankings of the Multi-MOORA, RIM, TOPSISLinear, TOPSISVector, VIKOR, WASPAS Methods and the both MetaRankings of the alternatives.
d <- matrix(c(1,2,5,3000,3750,4500),nrow = 3,ncol = 2)
w <- c(0.5,0.5)
cb <- c('min','max')
lambda <- 0.5
v <- 0.5
AB <- matrix(c(1,5,3000,4500),nrow = 2,ncol=2)
CD <- matrix(c(1,1,4500,4500),nrow = 2,ncol=2)
MetaRanking(d,w,cb,lambda,v,AB,CD)
Run the code above in your browser using DataLab