compareResults-methods: Function to rank results

Description Usage Arguments Value

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

1
2
3
4
compareResults(data)

## S4 method for signature '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.


FuzzyAHP documentation built on Dec. 6, 2019, 5:10 p.m.