Description Details References Examples
AHP (Analytic Hierarchy Process) is a decision making framework developed by Thomas Saaty. This package lets you model and analyse complex decision making problems according to the AHP framework.
The basic workflow with this package is:
1. specify your ahp problem in an ahp file. See vignette("file-format", package = "ahp")
for details
2. load ahp file, using Load
3. calculate model, using Calculate
4. visualize the ahp model using Visualize
5. output model analysis, either using Analyze
or using AnalyzeTable
For more information, see the package vignette using vignette("examples", package = "ahp")
. To learn
the details about the ahp file format, type vignette("file-format", package = "ahp")
Saaty, T. L. (2001). Decision Making for Leaders: The Analytic Hierarchy Process for Decisions in a Complex World, New Edition 2001 (3 Revised). Pittsburgh, PA: RWS Publications, ISBN 978-0962031786.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | library(ahp)
#list example files provided by the package
list.files(system.file("extdata", package="ahp"))
#load a specific example
ahpFile <- system.file("extdata", "car.ahp", package="ahp")
carAhp <- Load(ahpFile)
Calculate(carAhp)
Analyze(carAhp)
AnalyzeTable(carAhp)
#the vacation.ahp file provides an example with multiple decision makers
ahpFile <- system.file("extdata", "vacation.ahp", package="ahp")
vacationAhp <- Load(ahpFile)
Calculate(vacationAhp)
Visualize(vacationAhp)
Analyze(vacationAhp, decisionMaker = "Dad")
AnalyzeTable(vacationAhp, decisionMaker = "Mom")
AnalyzeTable(vacationAhp,
decisionMaker = "Kid",
variable = "priority",
sort = "orig",
pruneFun = function(node, dm) PruneByCutoff(node, dm, minWeight = 0.1))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.