apply.ELECTRE1 {RMCDA} | R Documentation |
Apply ELECTRE I method
Description
Apply ELECTRE I method
Usage
apply.ELECTRE1(mat, weights)
Arguments
mat |
A matrix or data frame where rows represent alternatives and columns represent criteria. |
weights |
A numeric vector of weights for each criterion. |
Value
a list containing three matrices, the first one is the intersection of concordance and discordance matrices, the second one is the concordance matrix, and the third one is the discordance matrix.
Examples
mat <- matrix(c(25, 10, 30, 20, 30, 10, 15, 20, 30, 30, 30, 10), nrow=3)
colnames(mat)<-c("c1", "c2", "c3", "c4")
rownames(mat)<-c("a1", "a2", "a3")
weights <- c(0.2, 0.15, 0.4, 0.25)
# Apply ELECTRE I method
results <- apply.ELECTRE1(mat, weights)
[Package RMCDA version 0.3 Index]