Learn R Programming

Prize (version 1.2.0)

ahp_matrix: AHP matrix slot

Description

ahp_matrix is a slot of ahmatrixObj class. It consists of a square pairwise comparison matrix.

Arguments

Examples

Run this code
mat <- matrix(nrow = 3, ncol = 3, data = NA)
mat[1,2] <- 5
mat[1,3] <- 2
mat[2,3] <- 7
res <- ahmatrix(mat)
ahp_matrix(res)

Run the code above in your browser using DataLab