fuzzyPairwiseComparisonMatrix {FuzzyAHP}R Documentation

Function that creates Fuzzy Pairwise Comparions Matrix

Description

This methods construct object FuzzyPairwiseComparisonMatrix based on provided PairwiseComparisonMatrix and an optional fuzzy scale.

Usage

fuzzyPairwiseComparisonMatrix(pairwiseComparisonMatrix, fuzzyScale,
comparsionNotInScale, width)

## S4 method for signature 'PairwiseComparisonMatrix'
fuzzyPairwiseComparisonMatrix(
  pairwiseComparisonMatrix,
  fuzzyScale = getFuzzyScale(type = "full"),
  comparsionNotInScale = FALSE,
  width = 1
)

## S4 method for signature 'matrix'
fuzzyPairwiseComparisonMatrix(pairwiseComparisonMatrix)

Arguments

pairwiseComparisonMatrix

PairwiseComparisonMatrix or matrix.

fuzzyScale

A numeric vector that definies fuzzy scale. Default scale is described in details. Default value getFuzzyScale(type="full").

comparsionNotInScale

A boolean variable. If TRUE the intensities not found in fuzzyScale are calculated with use of width parameter. Default value FALSE.

width

A numeric parameter, specifying the width of calculated fuzzy intensity. If comparsionNotInScale is FALSE then the parameter is not considered. Default value 1.

Details

Parameter fuzzyScale is expected as a vector containing n*3 values that represent triangular fuzzy numbers used as fuzzy intensity of importance (only the values equal or higher than 1, inverse values are calculated automatically). The values need to be ordered by fuzzy values. Default value of this parameter is as.double(c(1/2,1,2,1,2,3,2,3,4,3,4,5,4,5,6,5,6,7,6,7,8,7,8,9,8,9,9)). Another possibility is eg. as.double(c(1/3,1,3,1,3,5,3,5,7,5,7,9,7,9,9))

If param pairwiseComparisonMatrix is matrix then it needs to be of character type. Each element in the matrix must be specified as triplet "x;y;z", where x<=y<=z. From this matrix a pairwise comparison is constructed from y values and x and z function as lower and upper limits of y respectively. In this case the optional parameter fuzzyScale is not taken into account at all.

Value

Object of class FuzzyPairwiseComparisonMatrix


[Package FuzzyAHP version 0.9.5 Index]