AHP | R Documentation |
AHP is a multi-criteria decision analysis method developed by Saaty, which can also be used to determine indicator weights.
AHP(A)
A |
a numeric matrix, i.e. pairwise comparison matrix |
a list object that contains: w (Weight vector), CR (Consistency ratio), Lmax (Maximum eigenvalue), CI (Consistency index)
A = matrix(c(1, 1/2, 4, 3, 3,
2, 1, 7, 5, 5,
1/4, 1/7, 1, 1/2, 1/3,
1/3, 1/5, 2, 1, 1,
1/3, 1/5, 3, 1, 1), byrow = TRUE, nrow = 5)
AHP(A)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.