apply.MARCOS | R Documentation |
Apply Measurement of Alternatives and Ranking according to Compromise Solution (MARCOS)
apply.MARCOS(mat, weights, beneficial.vector)
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. |
a vector containing the aggregated appraisal scores.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.