powered by
Create a Pairwise Comparison Matrix of order n from a vector of length n(n-1)/2 independent upper triangular elements
createPCM(vec)
A Pairwise Comparison Matrix corresponding to the upper triangular elements
The preference vector of length as the order of the 'PCM'
PCM <- createPCM(c(1,2,0.5,3,0.5,2)); PCM <- createPCM(c(1,.5,2,1/3,4,2,.25,1/3,.5,1,.2,6,2,3,1/3));
Run the code above in your browser using DataLab