apply.MARCOS: Apply Measurement of Alternatives and Ranking according to...

View source: R/MARCOS.R

apply.MARCOSR Documentation

Apply Measurement of Alternatives and Ranking according to Compromise Solution (MARCOS)

Description

Apply Measurement of Alternatives and Ranking according to Compromise Solution (MARCOS)

Usage

apply.MARCOS(mat, weights, beneficial.vector)

Arguments

mat

is a matrix and contains the values for different properties of different alternatives.

weights

are the weights of each property in the decision-making process.

beneficial.vector

is a vector that contains the column number of beneficial properties.

Value

a vector containing the aggregated appraisal scores.

Examples


mat <- matrix(c(660, 1000, 1600, 18, 1200,
                800, 1000, 1600, 24, 900,
                980, 1000, 2500, 24, 900,
                920, 1500, 1600, 24, 900,
                1380, 1500, 1500, 24, 1150,
                1230, 1000, 1600, 24, 1150,
                680, 1500, 1600, 18, 1100,
                960, 2000, 1600, 12, 1150), nrow = 8, byrow = TRUE)
weights <- c(0.1061, 0.3476, 0.3330, 0.1185, 0.0949)
beneficial.vector <- c(2, 3, 4, 5)  # Columns 2, 3, 4, and 5 are beneficial
apply.MARCOS(mat, weights, beneficial.vector)

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