Package: AHPtools 1.0.1

AHPtools: Consistency in the Analytic Hierarchy Process

An integrated set of functions for building, analyzing, and visualizing Analytic Hierarchy Process (AHP) models, designed to support structured decision-making in consultancy, policy analysis, and research (Bose 2022 <doi:10.1002/mcda.1784>; Bose 2023 <doi:10.1002/mcda.1821>). In addition to tools for assessing and improving the consistency of pairwise comparison matrices (PCMs), the package supports full-hierarchy weight computation, intuitive tree-based visualization, sensitivity analysis, along with convenient PCM generation from user preferences.

Authors:Amarnath Bose [aut, cre]

AHPtools_1.0.1.tar.gz
AHPtools_1.0.1.zip(r-4.7-any)AHPtools_1.0.1.zip(r-4.6-any)AHPtools_1.0.1.zip(r-4.5-any)
AHPtools_1.0.1.tgz(r-4.6-any)AHPtools_1.0.1.tgz(r-4.5-any)
AHPtools_1.0.1.tar.gz(r-4.7-any)AHPtools_1.0.1.tar.gz(r-4.6-any)
AHPtools_1.0.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
AHPtools/json (API)

# Install 'AHPtools' in R:
install.packages('AHPtools', repos = c('https://amarnathbose.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/amarnathbose/ahptools/issues

On CRAN:

Conda:

3.72 score 13 scripts 479 downloads 11 exports 21 dependencies

Last updated from:9079bc99d7. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK121
source / vignettesOK243
linux-releaseOK137
macos-releaseOK182
macos-oldrelOK179
windows-develOK102
windows-releaseOK80
windows-oldrelOK84
wasm-releaseOK119

Exports:AHPweightsconsEvalCRcreateLogicalPCMcreatePCMcreateRandomPCMimproveCRlogitModelrevisedConsistencysensitivityviewAHPtree

Dependencies:cellrangerclicpp11crayondata.treegluehmslifecyclemagrittrpillarpkgconfigprettyunitsprogressR6readxlrematchrlangstringitibbleutf8vctrs

AHPtools: UseCases
Use Case Nugget 1: Logical PCMs and Reliable Consistency Thresholds | Use Case Nugget 2: Consistency Ratio Limitations in Consistency Enhancement | Use Case Nugget 3: A simple sensitivity measure for a PCM | Use Case Nugget 4: Preference Reversals as an indicator of inconsistency | Preference a2:a3 considering the entire order-4 PCM | Preference a2:a3 considering the triad PCM (a2, a3, a1) | Reversal in preference between a3 and a3

Last update: 2025-07-08
Started: 2025-07-08

AHPweights: Calculate AHP weights
Introduction | Step 1: Load the example AHP file | Step 2: Read the AHP structure | Step 3: Read the PCMs | Step 3: Create and View the AHP Tree | Print the tree structure | Calculate the weights of the alternatives | Calculate the global weights of the lowest level subcriteria | Another example

Last update: 2025-07-08
Started: 2025-07-08

Overview of AHPtools
Introduction | Installation | Functions in AHPtools package | createPCM | Purpose | Usage / Parameters | Returns | createLogicalPCM | CR | improveCR | sensitivity | revisedConsistency | consEval | viewAHPtree | AHPweights

Last update: 2025-07-08
Started: 2025-07-08

viewAHPtree: View an AHP tree
Introduction | Step 1: Load the example AHP file | Step 2: Read the AHP structure | Step 3: Create the AHP Tree | Print the tree structure | Another example | Summary

Last update: 2025-07-08
Started: 2025-07-08