Learn R Programming

FuzzyAHP (version 0.9.5)

calculateAHP: Function to calculate result of AHP

Description

This function calculates output of AHP based on '>Weights or '>FuzzyWeights on data represented either by matrix or '>FuzzyData.

Usage

calculateAHP(weights, data)

# S4 method for Weights,matrix calculateAHP(weights, data)

# S4 method for FuzzyWeights,matrix calculateAHP(weights, data)

# S4 method for FuzzyWeights,FuzzyData calculateAHP(weights, data)

# S4 method for PairwiseComparisonMatrix,matrix calculateAHP(weights, data)

# S4 method for FuzzyPairwiseComparisonMatrix,matrix calculateAHP(weights, data)

# S4 method for FuzzyPairwiseComparisonMatrix,FuzzyData calculateAHP(weights, data)

Arguments

weights

object of class '>Weights or '>FuzzyWeights. Alternatively objects of classes '>PairwiseComparisonMatrix or '>FuzzyPairwiseComparisonMatrix can be passed to directly calculate weights from these classes.

data

matrix or '>FuzzyData with number of colums equal to number of rows in weights.

Value

Either a matrix (if '>Weights and matrix were used as inputs) or '>FuzzyData (if '>FuzzyWeights were used).