RPrometheeIII: RPrometheeIII

Description Usage Arguments Value Author(s) References See Also Examples

Description

PROMETHEE III method includes a tolerance region in the preordering of alternatives. That is, an indifference region is created, different from PROMETHEE I and II, where indifference only occurs when the performance of two alternatives is exactly the same.

Usage

1

Arguments

RPrometheeArguments

an object with all RPromethee arguments. In this method, the object must have the argument alphaVector to indicate the size of the interval for each alternative. See RPrometheeConstructor for more information.

Value

Author(s)

Pedro Henrique Melo Albuquerque, pedroa@unb.br

Gustavo Monteiro Pereira, monteirogustavop@gmail.com

References

See Also

Other RPromethee methods: PrometheeIIIPlot, PrometheeIIPlot, PrometheeIPlot, PrometheeIVPlot, RPrometheeConstructor, RPrometheeII, RPrometheeIVKernel, RPrometheeIV, RPrometheeI, RPrometheeV, SensitivityAnalysis, UpdateRPrometheeAlternatives, UpdateRPrometheeArguments, WalkingWeightsPlot, plot,RPrometheeI-method

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
## Create objects for each argument
data <-matrix(c(5.2, -3.5,
                4.3, -1.2,
                6.7, -2.0), byrow = TRUE, ncol = 2, nrow = 3)

parms <- matrix(c(NA, NA), byrow = TRUE, ncol = 1, nrow = 2)
vecWeights <- c(0.3, 0.7)
vecMaximiz <- c(FALSE, TRUE)
prefFunction <- c(0,0)
alphaVector <- c(1, 2, 1)
normalize <- FALSE
alternatives <- c("Alt 1", "Alt 2", "Alt 3")

## Create RPrometheeArguments object
PromObj <- RPrometheeConstructor(datMat = data, vecWeights = vecWeights,
vecMaximiz = vecMaximiz, prefFunction = prefFunction, parms = parms,
normalize = normalize, alternatives = alternatives, alphaVector = alphaVector)

## Run RPrometheeIII
(result <- RPrometheeIII(PromObj))

## There are two alternatives two plot a RPrometheeIII object:
plot(result)
PrometheeIIIPlot(result)

## Updating alternatives name using UpdateRPrometheeAlternatives
newAlternatives <- c("A", "B", "C")
result <- UpdateRPrometheeAlternatives(result, newAlternatives)

## Updating any argument using UpdateRPrometheeArguments
newAlphaVector <- c(1, 1, 1)
PromObj <- UpdateRPrometheeArguments(PromObj, "alphaVector", newAlphaVector)
result <- RPrometheeIII(PromObj)

RMCriteria documentation built on May 2, 2019, 2:11 a.m.