{
  "_id": "6a1ff876b401979e73443c44",
  "Package": "AHPtools",
  "Type": "Package",
  "Title": "Consistency in the Analytic Hierarchy Process",
  "Version": "1.0.1",
  "URL": "https://CRAN.R-project.org/package=AHPtools",
  "Description": "An integrated set of functions for building, analyzing,\nand visualizing Analytic Hierarchy Process (AHP) models,\ndesigned to support structured decision-making in consultancy,\npolicy analysis, and research (Bose 2022\n<doi:10.1002/mcda.1784>; Bose 2023 <doi:10.1002/mcda.1821>). In\naddition to tools for assessing and improving the consistency\nof pairwise comparison matrices (PCMs), the package supports\nfull-hierarchy weight computation, intuitive tree-based\nvisualization, sensitivity analysis, along with convenient PCM\ngeneration from user preferences.",
  "License": "GPL-3",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "Config/testthat/edition": "3",
  "Language": "en-US",
  "RoxygenNote": "7.3.2",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-03 09:45:02 UTC",
    "User": "root"
  },
  "Authors@R": "person(given = \"Amarnath\",\nfamily = \"Bose\",\nrole = c(\"aut\", \"cre\"),\nemail = \"amarnath.bose@gmail.com\",\ncomment = c(ORCID = \"0000-0003-1560-6745\"))",
  "Maintainer": "Amarnath Bose <amarnath.bose@gmail.com>",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://amarnathbose.r-universe.dev",
  "Date/Publication": "2025-07-08 08:03:50 UTC",
  "RemoteUrl": "https://github.com/amarnathbose/ahptools",
  "RemoteRef": "HEAD",
  "RemoteSha": "9079bc99d769d15c650a7d0ba4637ae13f3dd9a2",
  "Author": "Amarnath Bose [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-1560-6745>)",
  "MD5sum": "9c1fbdcb54bfd8e73ab50a01e95b1bb8",
  "_user": "amarnathbose",
  "_type": "src",
  "_file": "AHPtools_1.0.1.tar.gz",
  "_fileid": "d3e50134b8aec9ef903e89c617f10dfb4201a8a6fc1e3e8e205e23634bed6b84",
  "_filesize": 183207,
  "_sha256": "d3e50134b8aec9ef903e89c617f10dfb4201a8a6fc1e3e8e205e23634bed6b84",
  "_created": "2026-06-03T09:45:02.000Z",
  "_published": "2026-06-03T09:48:38.038Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79266242994,
      "time": 177,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7381177644"
    },
    {
      "job": 79266243020,
      "time": 137,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7381162188"
    },
    {
      "job": 79266243055,
      "time": 99,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7381147707"
    },
    {
      "job": 79266243042,
      "time": 105,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7381150135"
    },
    {
      "job": 79265578759,
      "time": 220,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7381109374"
    },
    {
      "job": 79266243023,
      "time": 121,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7381156299"
    },
    {
      "job": 79266243010,
      "time": 72,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7381137983"
    },
    {
      "job": 79266243038,
      "time": 79,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7381140647"
    },
    {
      "job": 79266243067,
      "time": 94,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7381145860"
    }
  ],
  "_buildurl": "https://github.com/r-universe/amarnathbose/actions/runs/26876619075",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/amarnathbose/ahptools",
  "_commit": {
    "id": "9079bc99d769d15c650a7d0ba4637ae13f3dd9a2",
    "author": "Amarnath Bose <amarnath.bose@gmail.com>",
    "committer": "Amarnath Bose <amarnath.bose@gmail.com>",
    "message": "Initial commit of AHPtools ver 1.0.1 source\n",
    "time": 1751961830
  },
  "_maintainer": {
    "name": "Amarnath Bose",
    "email": "amarnath.bose@gmail.com",
    "login": "amarnathbose",
    "orcid": "0000-0003-1560-6745",
    "description": "\n",
    "uuid": 909304
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "readxl",
      "role": "Imports"
    },
    {
      "package": "data.tree",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "kableExtra",
      "role": "Suggests"
    },
    {
      "package": "tidyverse",
      "role": "Suggests"
    }
  ],
  "_owner": "amarnathbose",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-28",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "amarnathbose",
      "count": 1,
      "uuid": 909304
    }
  ],
  "_userbio": {
    "uuid": 909304,
    "type": "user",
    "name": "Amarnath Bose"
  },
  "_downloads": {
    "count": 277,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/AHPtools"
  },
  "_devurl": "https://github.com/amarnathbose/ahptools",
  "_searchresults": 9,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/AHPtools.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/amarnathbose/ahptools",
  "_realowner": "amarnathbose",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2023-04-17"
    },
    {
      "version": "0.2.0",
      "date": "2023-08-08"
    },
    {
      "version": "0.2.1",
      "date": "2023-11-02"
    },
    {
      "version": "0.3.0",
      "date": "2024-07-15"
    },
    {
      "version": "1.0.0",
      "date": "2025-06-20"
    },
    {
      "version": "1.0.1",
      "date": "2025-07-06"
    }
  ],
  "_exports": [
    "AHPweights",
    "consEval",
    "CR",
    "createLogicalPCM",
    "createPCM",
    "createRandomPCM",
    "improveCR",
    "logitModel",
    "revisedConsistency",
    "sensitivity",
    "viewAHPtree"
  ],
  "_help": [
    {
      "page": "AHPweights",
      "title": "Compute weights for Alternatives and lowest level sub criteria in AHP responses",
      "topics": [
        "AHPweights"
      ]
    },
    {
      "page": "consEval",
      "title": "Find consistency of a PCM based on Preference Reversals",
      "topics": [
        "consEval"
      ]
    },
    {
      "page": "CR",
      "title": "Saaty CR Consistency",
      "topics": [
        "CR"
      ]
    },
    {
      "page": "createLogicalPCM",
      "title": "Simulated Logical Pairwise Comparison Matrix for the Analytic Hierarchy Process",
      "topics": [
        "createLogicalPCM"
      ]
    },
    {
      "page": "createPCM",
      "title": "Create a Pairwise Comparison Matrix of order n for Analytic Hierarchy Process from a vector of length n(n-1)/2 comparison ratios",
      "topics": [
        "createPCM"
      ]
    },
    {
      "page": "createRandomPCM",
      "title": "Create a Random Pairwise Comparison Matrix of given order n",
      "topics": [
        "createRandomPCM"
      ]
    },
    {
      "page": "improveCR",
      "title": "Improve the CR consistency of a PCM",
      "topics": [
        "improveCR"
      ]
    },
    {
      "page": "logitModel",
      "title": "Logistic Regression Model",
      "topics": [
        "logitModel"
      ]
    },
    {
      "page": "revisedConsistency",
      "title": "Evaluate Revised Consistency",
      "topics": [
        "revisedConsistency"
      ]
    },
    {
      "page": "sensitivity",
      "title": "Compute Sensitivity",
      "topics": [
        "sensitivity"
      ]
    },
    {
      "page": "viewAHPtree",
      "title": "Create AHP Tree Structure",
      "topics": [
        "viewAHPtree"
      ]
    }
  ],
  "_rundeps": [
    "cellranger",
    "cli",
    "cpp11",
    "crayon",
    "data.tree",
    "glue",
    "hms",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "R6",
    "readxl",
    "rematch",
    "rlang",
    "stringi",
    "tibble",
    "utf8",
    "vctrs"
  ],
  "_vignettes": [
    {
      "source": "UseCases.Rmd",
      "filename": "UseCases.html",
      "title": "AHPtools: UseCases",
      "engine": "knitr::rmarkdown",
      "headings": [
        "",
        "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"
      ],
      "created": "2025-07-08 08:03:50",
      "modified": "2025-07-08 08:03:50",
      "commits": 1
    },
    {
      "source": "AHPweights.Rmd",
      "filename": "AHPweights.html",
      "title": "AHPweights: Calculate AHP weights",
      "engine": "knitr::rmarkdown",
      "headings": [
        "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"
      ],
      "created": "2025-07-08 08:03:50",
      "modified": "2025-07-08 08:03:50",
      "commits": 1
    },
    {
      "source": "AHPtools.Rmd",
      "filename": "AHPtools.html",
      "title": "Overview of AHPtools",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Installation",
        "Functions in AHPtools package",
        "createPCM",
        "Purpose",
        "Usage / Parameters",
        "Returns",
        "createLogicalPCM",
        "CR",
        "improveCR",
        "sensitivity",
        "revisedConsistency",
        "consEval",
        "viewAHPtree",
        "AHPweights"
      ],
      "created": "2025-07-08 08:03:50",
      "modified": "2025-07-08 08:03:50",
      "commits": 1
    },
    {
      "source": "viewAHPtree.Rmd",
      "filename": "viewAHPtree.html",
      "title": "viewAHPtree: View an AHP tree",
      "engine": "knitr::rmarkdown",
      "headings": [
        "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"
      ],
      "created": "2025-07-08 08:03:50",
      "modified": "2025-07-08 08:03:50",
      "commits": 1
    }
  ],
  "_score": 3.6020599913279625,
  "_indexed": true,
  "_nocasepkg": "ahptools",
  "_universes": [
    "amarnathbose"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-06-03T09:48:03.000Z",
      "distro": "noble",
      "commit": "9079bc99d769d15c650a7d0ba4637ae13f3dd9a2",
      "fileid": "7280cbc4e7032a92637f68c33d660d3745b897fd105b416ec978189394c46b09",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/amarnathbose/actions/runs/26876619075"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-06-03T09:47:25.000Z",
      "distro": "noble",
      "commit": "9079bc99d769d15c650a7d0ba4637ae13f3dd9a2",
      "fileid": "a0fce555b18d2572c6dc4d829298c389879fddb3afb2c84271448fcbb5c59811",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/amarnathbose/actions/runs/26876619075"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-06-03T09:46:49.000Z",
      "commit": "9079bc99d769d15c650a7d0ba4637ae13f3dd9a2",
      "fileid": "123350aec6e7465a455cc890e1d6b6a79e6a8637566557dab61c1ecbb4a3b3a8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/amarnathbose/actions/runs/26876619075"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-06-03T09:46:54.000Z",
      "commit": "9079bc99d769d15c650a7d0ba4637ae13f3dd9a2",
      "fileid": "792635541d8f358bbce06f11be9e3ce927c631a9323bc3e900fb2e64a72d7844",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/amarnathbose/actions/runs/26876619075"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.1",
      "date": "2026-06-03T09:47:22.000Z",
      "commit": "9079bc99d769d15c650a7d0ba4637ae13f3dd9a2",
      "fileid": "395383cb730bbf2b84595c7800938d0b7752ffe40d6fb41b7ab78584ce2b42ad",
      "status": "success",
      "buildurl": "https://github.com/r-universe/amarnathbose/actions/runs/26876619075"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-06-03T09:46:16.000Z",
      "commit": "9079bc99d769d15c650a7d0ba4637ae13f3dd9a2",
      "fileid": "8304ce93ecfa1e8146ec9eb61aebf57e2bb8fa54d21c370f47b80c89b9935155",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/amarnathbose/actions/runs/26876619075"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-06-03T09:46:21.000Z",
      "commit": "9079bc99d769d15c650a7d0ba4637ae13f3dd9a2",
      "fileid": "bf2492f0acb4fc3b7aac706128153583b0f34ec2c4c1d4a18c8389ba162c1fd9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/amarnathbose/actions/runs/26876619075"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-06-03T09:46:34.000Z",
      "commit": "9079bc99d769d15c650a7d0ba4637ae13f3dd9a2",
      "fileid": "148b6c1e9dfd7b514ff7f577dc7bf17e4e3c0a568896814265e4e76ad5caeb1f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/amarnathbose/actions/runs/26876619075"
    }
  ]
}