RPrometheeIV: RPrometheeIV

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

Description

Proposed by Brans and Vincke (1985), PROMETHEE II method aims to solve sorting problems. The PROMETHEE II method performs a total ordering of the alternatives set by calculating the net outranking flow (HENDRIKS et al., 1992), with the objective of solving the problem that no unambiguous solution can be given due to incomparability.

Usage

1

Arguments

RPrometheeArguments

An object with all RPromethee arguments. It's important that parms argument isn't compound of NA values. 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, RPrometheeIII, RPrometheeII, RPrometheeIVKernel, 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
## 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(1.0, 1.3), byrow = TRUE, ncol = 1, nrow = 2)
vecWeights <- c(0.3, 0.7)
vecMaximiz <- c(FALSE, TRUE)
prefFunction <- c(0, 0)
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)

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

## There are two alternatives two plot a RPrometheeIV object:
plot(result)
PrometheeIVPlot(result)

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

## Updating any argument using UpdateRPrometheeArguments
newPrefFunction <- c(1, 1)
PromObj <- UpdateRPrometheeArguments(PromObj, "prefFunction", newPrefFunction)
(result <- RPrometheeIV(PromObj))

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