createPCM | R Documentation |
Create a Pairwise Comparison Matrix of order n from a vector of length n(n-1)/2 independent upper triangular elements
createPCM(vec)
vec |
The preference vector of length as the order of the 'PCM' |
A Pairwise Comparison Matrix corresponding to the upper triangular elements
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));
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.