Description Usage Arguments Details References Examples
View source: R/group_sensitivity.R
Given a pairwise comparison matrix this function allows you to obtain the criteria weight (row geometric mean) for one user and any number of criteria
1 2 | ## S3 method for class 'matrix'
weights(x, n)
|
x |
a pairwise comparison matrix |
n |
Integer, the total number of criteria |
The weight criteria is obtained by the computation of the geometric mean
\bar{w}_r^{P_j} = √[m]{a_{r1}a_{r2}… a_{rm}}
where a_{rm} are elements in the pairwise comparisons matrix
C = ≤ft[ {\begin{array}{cccc} 1 & a_{12} & … & a_{1m}\\ 1/a_{12} & 1 & … & a_{2m} \\ … & … & 1 & …\\ 1/a_{1m} & 1/a_{2m} & … & 1 \end{array} } \right]
Marie Ivanco, Gene Hou, Jennifer Michaeli, Sensitivity analysis method to address user disparities in the analytic hierarchy process, Expert Systems with Applications, Volume 90, 2017, Pages 111-126, ISSN 0957-4174, https://doi.org/10.1016/j.eswa.2017.08.003.
1 2 | pcm <- pcmatrix(c(1,2,3,4,5,6), 4)
weights.matrix(pcm, 4)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.