apply.PROMETHEE {RMCDA} | R Documentation |
Function for applying PROMOTHEE I or II
Description
Function for applying PROMOTHEE I or II
Usage
apply.PROMETHEE(A, weights, type = "II")
Arguments
A |
the comparison matrix with the row names indicating the alternatives and colnames indicating the criteria. |
weights |
the weights of criteria. |
type |
can be either type 'I' or 'II'. It is set to 'II' by default |
Value
the results of PROMOTHEE
Examples
A <- matrix(c(250, 200, 300, 275, 16, 16, 32, 32, 12, 8, 16, 8, 5, 3, 4, 2), nrow=4)
rownames(A)<-c("Mobile 1", "Mobile 2", "Mobile 3", "Mobile 4")
colnames(A)<-c("Price", "Memory", "Camera", "Looks")
weights <- c(0.35, 0.25, 0.25, 0.15)
apply.PROMETHEE(A, weights)
[Package RMCDA version 0.3 Index]