RPrometheeConstructor: RPrometheeConstructor

Description Usage Arguments Details Author(s) See Also

View source: R/PrometheeS4.R

Description

Create a RPrometheeArguments object to be used by RPromethee methods.

Usage

1
2
3
RPrometheeConstructor(datMat, vecWeights, vecMaximiz, prefFunction, parms,
  normalize, alphaVector = NULL, band = NULL, constraintDir = NULL,
  bounds = NULL, alternatives = NULL, criterias = NULL)

Arguments

datMat

A matrix containing the data from criterias and alternatives.

vecWeights

A vector of weights for each criteria.

vecMaximiz

A logical vector to indicate if the criteria should be maximized or minimized.

prefFunction

A numerical vector to indicate the type of the Preference Function:

  • prefFunction=0 Gaussian Preference Function

  • prefFunction=1 Usual Preference Function

  • prefFunction=2 U-Shape Preference Function

  • prefFunction=3 V-Shape Preference Function

  • prefFunction=4 Level Preference Function

  • prefFunction=5 V-Shape Preference and Indiference Function

parms

a numerical matrix with parameters associated to the Preference Function. They're defined as a matrix of n columns and m rows. The maximum number of parameters is 3 and m is the number of criterias. The parameters are:

  • Indifference Threshold (q)

  • Preference Threshold (p)

  • Gaussian Threshold (s)

normalize

A boolean to normalize the index.

alphaVector

A numerical vector to indicate the size of the interval for each alternative in Promethee III ranking.

band

A numerical matrix with m rows corresponding to each criteria and one column corresponding to the bandwitch estimated for that criteria. This bandwitch is used for Kernel Density Estimation in Promethee IV Kernel. By default, it is calculated using bw.nrd0.

constraintDir

A character vector with the direction of constraints to be optimized in Promethee V. The values must be combinations of >, < and = operators. If missing, it's calculated using "<=" for all criterias.

bounds

A numeric vector used in Promethee V for the right-hand sides of the constraints.

alternatives

A character vector with alternatives names.

criterias

A character vector with criterias names.

Details

This function is used to create a RPrometheeArguments object. This object is used by all RPromethee methods, being necessary to include only the arguments that are used by the desired method. The arguments datMat, vecWeights, vecMaximiz, prefFunction, parms, normalize must be specified for all methods. The following methods use additional arguments:

Author(s)

Pedro Henrique Melo Albuquerque, pedroa@unb.br

Gustavo Monteiro Pereira, monteirogustavop@gmail.com

See Also

RPrometheeI, RPrometheeII, RPrometheeIII, RPrometheeIV, RPrometheeIVKernel, RPrometheeV

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


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