Calculate TOPSIS multicriteria method in R

I would like to calculate TOPSIS multicriteria method for this matrix below in R.

How can I do this?

enter image description here

Hi,

Maybe this package will help:

PJ

1 Like
library(topsis)

df1<- matrix(c(90,20,80,120,8,100,70,12,90),
             nrow=3,
             ncol=3,
             byrow=TRUE)

row.names(df1) <- c("ERP1","ERP2","ERP3")
colnames(df1) <- c("Cost","Installation_deadline","Warrantly")

w <- c(0.5,0.3,0.2)
i <- c("-", "-", "+")
topsis(df1, w, i)

  alt.row     score rank
1       1 0.3614957    3
2       2 0.4953023    2
3       3 0.7816596    1
1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.