apply.ELECTRE1 | R Documentation |
Apply ELECTRE I method
apply.ELECTRE1(mat, weights)
mat |
A matrix or data frame where rows represent alternatives and columns represent criteria. |
weights |
A numeric vector of weights for each criterion. |
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.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.