Learn R Programming

FuzzyAHP (version 0.9.5)

compareResults: Function to rank results

Description

This function ranks data from the highest value to the lowest. Essentially it does (nrow(data)+1) - rank(data, na.last ="keep", ties.method= "max").

Usage

compareResults(data)

# S4 method for matrix compareResults(data)

Arguments

data

A matrix with one column. Usually an output of function calculateAHP.

Value

A "matrix" of numeric value that indicates ranking of each row, with the highest value ranked as 1.