sapevom: SAPEVO-M

Description Usage Arguments Details Value Author(s) References Examples

View source: R/sapevom.R

Description

Implements SAPEVO-M method

Usage

1
sapevom(criteriaEvaluations, alternativesEvaluations)

Arguments

criteriaEvaluations

a list of matrices with pairwise comparison of criteria, one matrix for each decisor.

alternativesEvaluations

a list of lists of matrices with pairwise comparison of alternatives, one list for each criterion containing one matrix for each decisor.

Details

Criteria and alternatives must be in the same order on all the matrices. Define row names for all matrices, like on documentation example, to have a more understandable output. The pairwise comparisons must be made with a scale of seven values, from -3 to 3, to represent the preferences.

Value

a vector with citeria weights and a dataframe with SAPEVO-M results.

Author(s)

Raquel Coutinho rdouradocoutinho@gmail.com, Marcos do Santos marcosdossantos@ime.eb.br

References

GOMES, C. F. S., DOS SANTOS, M., TEIXEIRA, L. F. H. S. B., SANSEVERINO, A. M. and BARCELOS, M.R. S. (2020). SAPEVO-M: a group multicriteria ordinal ranking method. Pesquisa Operacional. 40. 1-20. DOI: 10.1590/0101-7438.2020.040.00226524.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
criteria<- c("C1", "C2", "C3")
alternatives<- c("A1", "A2", "A3")

listofmatrices<-list(matrix(c(0,1,1,-1,0,0,-1,0,0),
                                byrow=TRUE, ncol=3, dimnames=list(criteria)),
                     matrix(c(0,2,1,-2,0,1,-1,-1,0),
                                byrow=TRUE, ncol=3, dimnames=list(criteria))
                     )

listoflistsofmatrices<-list(list(matrix(c(0,0,-1,0,0,2,1,-2,0),
                                             byrow=TRUE, ncol=3, dimnames=list(alternatives)),
                                 matrix(c(0,-1,2,1,0,0,-2,0,0),
                                             byrow=TRUE, ncol=3, dimnames=list(alternatives))),
                            list(matrix(c(0,1,0,-1,0,0,0,0,0),
                                             byrow=TRUE, ncol=3, dimnames=list(alternatives)),
                                 matrix(c(0,2,1,-2,0,1,-1,-1,0),
                                             byrow=TRUE, ncol=3, dimnames=list(alternatives))),
                            list(matrix(c(0,3,2,-3,0,1,-2,-1,0),
                                             byrow=TRUE, ncol=3, dimnames=list(alternatives)),
                                 matrix(c(0,0,3,0,0,-1,-3,1,0),
                                             byrow=TRUE, ncol=3, dimnames=list(alternatives)))
                            )

sapevom(criteriaEvaluations= listofmatrices, alternativesEvaluations= listoflistsofmatrices)

sapevom documentation built on Feb. 1, 2021, 5:06 p.m.