apply.ELECTRE1: Apply ELECTRE I method

View source: R/ELECTRE.R

apply.ELECTRE1R 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)


RMCDA documentation built on June 8, 2025, 11:14 a.m.