Learn R Programming

FuzzyAHP (version 0.9.5)

compareFuzzyNumbers: Function to mutually compare fuzzy data

Description

This function compares fuzzy data '>FuzzyData to identify the optimal (best) cases. The '>FuzzyData can only contain one fuzzy number, otherwise the comparison is not possible. The calculation of type "possibilityTheory" can be time consuming as it is based on comparing each fuzzy number to a maximal fuzzy number obtained from the set of fuzzy numbers.

Usage

compareFuzzyNumbers(fuzzyData, type, progressBar = FALSE)

# S4 method for FuzzyData,character compareFuzzyNumbers(fuzzyData, type, progressBar = FALSE)

Arguments

fuzzyData

A '>FuzzyData

type

A "character" representing type of comparison. Currently implemented methods are "Chen" and "possibilityTheory".

progressBar

logical value indicating if textual progress bar should be printed (default value FALSE)

Value

A "matrix" of numeric value in case of "Chen" method or a "matrix" with two values in case of "possibilityTheory".