Description Usage Arguments Value See Also Examples

This methods construct object `PairwiseComparisonMatrix`

based on provided `matrix`

.
The matrix needs to be square and reciprocal with the intensity of importance
(comparisons).
Since the version 0.6.9 the comparsions can be represented as either characters (e.g. "1", "9", "1/9")
or numeric (e.g. 1, 9, 1/9) .

1 2 3 4 | ```
pairwiseComparisonMatrix(matrix)
## S4 method for signature 'matrix'
pairwiseComparisonMatrix(matrix)
``` |

`matrix` |
A reciprocal square matrix with ones on the main diagonal. |

An object of class `PairwiseComparisonMatrix`

PairwiseComparisonMatrix

1 2 3 4 5 6 7 | ```
comparisonMatrixValues = c("1","9","5","1/9","1","1/3","1/5","3","1")
comparisonMatrix = matrix(comparisonMatrixValues, nrow = 3, ncol = 3, byrow = TRUE)
matrix = pairwiseComparisonMatrix(comparisonMatrix)
comparisonMatrixValues = c(1,9,5,1/9,1,1/3,1/5,3,1)
comparisonMatrix = matrix(comparisonMatrixValues, nrow = 3, ncol = 3, byrow = TRUE)
matrix = pairwiseComparisonMatrix(comparisonMatrix)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.