CI {AHPWR}R Documentation

calculates saaty's consistency index

Description

Function to calculate the saaty's consistency index

Usage

CI(m)

Arguments

m

is a matrice of pairwise comparison

Value

Returns saaty's consistency index

Author(s)

Luciane Ferreira Alcoforado

Examples

x=c("c1", "c2", "c3", "c4")
y=c(3, 9, 2, 8)
m=matrix_ahp(x,y)
CI(m)

x=c("a1", "a2", "a3", "a4", "a5")
y=c(1, 9, 1.5, 8, 6)
m=matrix_ahp(x,y)
CI(m)

m=diag(16)+2-2*diag(16)
m
CI(m)
CR(m)

[Package AHPWR version 0.1.0 Index]