Title: | Create Logical Pairwise Comparison Matrix for the Analytic Hierarchy Process |
---|---|
Description: | Create Pairwise Comparison Matrices for use in the Analytic Hierarchy Process. The Pairwise Comparison Matrix created will be a logical matrix, which unlike a random comparison matrix, is similar to what a rational decision maker would create on the basis of a preference vector for the alternatives considered. |
Authors: | Amarnath Bose [aut, cre] |
Maintainer: | Amarnath Bose <[email protected]> |
License: | GPL-3 |
Version: | 0.1.0 |
Built: | 2024-11-16 05:20:39 UTC |
Source: | https://github.com/cran/createLogicalPCM |
Creates a logical pairwise comparison matrix for the Analytic Hierarchy Process such as would be created by a rational decision maker based on a relative vector of preferences for the alternatives involved. Choices of the pairwise comparison ratios are from the Fundamental Scale and simulate a reasonable degree of error. The algorithm is modified from a paper by Bose, A [2022], doi:10.1002/mcda.1784
createLogicalPCM(ord, prefVec = rep(NA, ord))
createLogicalPCM(ord, prefVec = rep(NA, ord))
ord |
The desired order of the Pairwise Comparison Matrix |
prefVec |
The preference vector of length as the order of the input matrix ' @return A Logical Pairwise Comparison Matrix |
lPCM <- createLogicalPCM(3,c(1,2,3)); lPCM <- createLogicalPCM(5,c(0.25,0.4,0.1,0.05,0.2));
lPCM <- createLogicalPCM(3,c(1,2,3)); lPCM <- createLogicalPCM(5,c(0.25,0.4,0.1,0.05,0.2));