apply.SRMP | R Documentation |
Apply SRMP (Simple Ranking Method using Reference Profiles) on data
apply.SRMP(evaluations.mat, reference.profiles, weights)
evaluations.mat |
the matrix comparing alternatives based on criteria |
reference.profiles |
matrix containing reference profile information |
weights |
of different criteria |
alternatives ranked using SRMP
evaluations.mat <- matrix(c(41, 46, 43, -2, -4, -5.5, 4, 2, 3), nrow=3)
colnames(evaluations.mat) <- c("S", "L", "J")
rownames(evaluations.mat) <- c("x", "y", "z")
reference.profiles <- matrix(c(42, 45, -5, -3, 2, 4), nrow=2)
colnames(reference.profiles) <- c("S", "L", "J")
rownames(reference.profiles) <- c("p1", "p2")
weights <- c(1/3, 1/3, 1/3)
apply.SRMP(evaluations.mat, reference.profiles, weights)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.