matrix_ahp: creates a dataframe containing the judments holistic

View source: R/matrix_ahp.R

matrix_ahpR Documentation

creates a dataframe containing the judments holistic

Description

Function to build the judment matrix

Usage

matrix_ahp(x, y)

Arguments

x

is a vector of names criteria or choices

y

is a vector of weigth scale Saaty, in [1,9]

Value

Returns a judment matrice.

Author(s)

Luciane Ferreira Alcoforado

Examples

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

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

AHPWR documentation built on Dec. 7, 2022, 1:10 a.m.