Learn R Programming

RMCriteria

Overview

RMCriteria is a package to solve Multiple-Criteria Decision Analysis (MCDA) problems. For now, it only supports Promethee methods, but other methods may be developed in the future.

Installation

Currently, the easiest way to install RMCriteria is through devtools package, straight from GitHub:

# install.packages("devtools")
devtools::install_github("lamfo-unb/RMCriteria")

Usage

Using RMCriteria is quite simple. The general idea is to create a RPrometheeArguments object, with all parameters such as the criterias and alternatives and then applying this object to the chosen method, like RPrometheeI.

## Create objects for each argument
data <-matrix(c(5.2,-3.5,
                4.3,-1.2,
                6.7,-2.0), byrow = T, ncol=2, nrow=3)

parms <- matrix(c(NA,
                NA),byrow=TRUE,ncol=1,nrow=2)

vecWeights <- c(0.3,0.7)
vecMaximiz <- c(F,T)
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 RPrometheeI
(result <- RPrometheeI(PromObj))

More Information

RMCriteria was developed in the Laboratory of Machine Learning in Finance and Organizations (LAMFO) from University of Brasilia, in Brazil. LAMFO is a center devoted to research machine learning methods and related subjects applied to organizations in Marketing, Finance, Logistics and many others.

Copy Link

Version

Install

install.packages('RMCriteria')

Monthly Downloads

15

Version

0.2.0

License

GPL-2

Maintainer

Pedro Albuquerque

Last Published

January 17th, 2019

Functions in RMCriteria (0.2.0)

RPrometheeIII-class

An S4 class to store results from RPrometheeIII.
RPrometheeI-class

An S4 class to store results from RPrometheeI.
UpdateRPrometheeArguments,RPrometheeArguments-method

UpdateRPrometheeArguments
print,RPrometheeV-method

Prints a RPromethee object.
RPrometheeII-class

An S4 class to store results from RPrometheeII.
RPrometheeII

RPrometheeII
SensitivityAnalysis

SensitivityAnalysis
SensitivityAnalysis-class

An S4 class to store results from RPrometheeV.
print,SensitivityAnalysis-method

Prints a RPromethee object.
UpdateRPrometheeArguments

UpdateRPrometheeArguments
RPrometheeArguments-class

An S4 class to be used by all RPromethee methods.
summary,RPrometheeII-method

Summarize a RPromethee object.
RPrometheeConstructor

RPrometheeConstructor
RPrometheeIII

RPrometheeIII
RPrometheeIV-class

An S4 class to store results from RPrometheeIV.
PrometheeII

Calculates PROMETHEE II method.
UpdateRPrometheeAlternatives,RPrometheeI-method

UpdateRPrometheeAlternatives
RPrometheeI

RPrometheeI
RPrometheeV-class

An S4 class to store results from RPrometheeV.
RPrometheeIV

RPrometheeIV
RPrometheeV

RPrometheeV
UpdateRPrometheeAlternatives,RPrometheeIVKernel-method

UpdateRPrometheeAlternatives
summary,RPrometheeIII-method

Summarize a RPromethee object.
UpdateRPrometheeAlternatives,SensitivityAnalysis-method

UpdateRPrometheeAlternatives
UpdateRPrometheeAlternatives

UpdateRPrometheeAlternatives
UpdateRPrometheeAlternatives,RPrometheeII-method

UpdateRPrometheeAlternatives
WalkingWeightsPlot

WalkingWeightsPlot
brutePrometheeIVKernel

Calculates PROMETHEE IV KERNEL method.
plot,RPrometheeIII-method

Plots RPrometheeIII objects
UpdateRPrometheeAlternatives,RPrometheeV-method

UpdateRPrometheeAlternatives
plot,RPrometheeIV-method

Plots RPrometheeIV objects
print,RPrometheeArguments-method

Prints a RPromethee object.
show,RPrometheeArguments-method

Shows a RPromethee object.
print,RPrometheeI-method

Prints a RPromethee object.
summary,RPrometheeArguments-method

Summarize a RPromethee object.
show,RPrometheeI-method

Show a RPromethee object
summary,RPrometheeI-method

Summarize a RPromethee object.
RPrometheeIVKernel-class

An S4 class to store results from RPrometheeIVKernel.
RPrometheeIVKernel

RPrometheeIVKernel
UpdateRPrometheeAlternatives,RPrometheeIII-method

UpdateRPrometheeAlternatives
print,RPrometheeII-method

Prints a RPromethee object.
print,RPrometheeIII-method

Prints a RPromethee object.
show,RPrometheeV-method

Show a RPromethee object
show,SensitivityAnalysis-method

Show a RPromethee object
UpdateRPrometheeAlternatives,RPrometheeIV-method

UpdateRPrometheeAlternatives
summary,RPrometheeV-method

Summarize a RPromethee object.
summary,SensitivityAnalysis-method

Summarize a RPromethee object.
show,RPrometheeIV-method

Show a RPromethee object
show,RPrometheeIVKernel-method

Show a RPromethee object
plot,RPrometheeII-method

Plots RPrometheeII objects
plot,RPrometheeI-method

NetworkPlot
print,RPrometheeIV-method

Prints a RPromethee object.
print,RPrometheeIVKernel-method

Prints a RPromethee object.
show,RPrometheeII-method

Show a RPromethee object
show,RPrometheeIII-method

Show a RPromethee object
summary,RPrometheeIV-method

Summarize a RPromethee object.
summary,RPrometheeIVKernel-method

Summarize a RPromethee object.
PrometheeIV

Calculates PROMETHEE IV method.
PrometheeIVKernel

Calculates PROMETHEE IV KERNEL method.
PrometheeI

Calculates PROMETHEE I method.
RMCriteria

RMCriteria: Solves MCDA problems using Promethee methods.
PrometheeIVPlot

PrometheeIVPlot
PrometheeIII

Calculates PROMETHEE III method.
PrometheeIIIPlot

PrometheeIIIPlot
PrometheeIIPlot

PrometheeIIPlot
PrometheeIPlot

PrometheeIPlot