{
  "_id": "6a2526c94b233be198392ce3",
  "Package": "raptools",
  "Title": "Risk Assessment Plot and Reclassification Metrics",
  "Version": "1.23.0",
  "Authors@R": "c(\nperson(\ngiven = \"John W\",\nfamily = \"Pickering\",\nemail = \"John.Pickering@otago.ac.nz\",\nrole = \"aut\"\n),\nperson(\ngiven = \"Dimitrios\",\nfamily = \"Doudesis\",\nemail = \"dimitrios.doudesis@ed.ac.uk\",\nrole = \"aut\"\n),\nperson(\ngiven = \"Daniel\",\nfamily = \"Perez Vicencio\",\nemail = \"dvicencio947@gmail.com\",\nrole = \"cre\"\n)\n)",
  "Description": "Assessing the comparative performance of two logistic\nregression models or results of such models or classification\nmodels. Discrimination metrics include Integrated\nDiscrimination Improvement (IDI), Net Reclassification\nImprovement (NRI), and difference in Area Under the Curves\n(AUCs), Brier scores and Brier skill. Plots include Risk\nAssessment Plots, Decision curves and Calibration plots.\nMethods are described in Pickering and Endre (2012)\n<doi:10.1373/clinchem.2011.167965> and Pencina et al. (2008)\n<doi:10.1002/sim.2929>.",
  "License": "GPL-3",
  "LazyData": "true",
  "LazyLoad": "true",
  "RoxygenNote": "7.3.2",
  "Encoding": "UTF-8",
  "URL": "https://github.com/Researchverse/raptools,\nhttps://researchverse.github.io/raptools/",
  "BugReports": "https://github.com/Researchverse/raptools/issues",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev",
  "Repository": "https://researchverse.r-universe.dev",
  "Date/Publication": "2025-12-09 21:58:17 UTC",
  "RemoteUrl": "https://github.com/researchverse/raptools",
  "RemoteRef": "HEAD",
  "RemoteSha": "0b278186a6791124190b1c1c5582ee1989cd80c0",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-07 08:04:21 UTC",
    "User": "root"
  },
  "Author": "John W Pickering [aut],\nDimitrios Doudesis [aut],\nDaniel Perez Vicencio [cre]",
  "Maintainer": "Daniel Perez Vicencio <dvicencio947@gmail.com>",
  "MD5sum": "f911bccca37fc54ac83a4e91bb5c4a47",
  "_user": "researchverse",
  "_type": "src",
  "_file": "raptools_1.23.0.tar.gz",
  "_fileid": "d9bd380c881e28d1208c6d1b698c48f69e0fcd453a3b783f8625fabf3d706c56",
  "_filesize": 628946,
  "_sha256": "d9bd380c881e28d1208c6d1b698c48f69e0fcd453a3b783f8625fabf3d706c56",
  "_created": "2026-06-07T08:04:21.000Z",
  "_published": "2026-06-07T08:07:37.708Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79942953384,
      "time": 123,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7462180159"
    },
    {
      "job": 79942953391,
      "time": 145,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7462182922"
    },
    {
      "job": 79942953374,
      "time": 135,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7462179850"
    },
    {
      "job": 79942953380,
      "time": 156,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7462179523"
    },
    {
      "job": 79942746718,
      "time": 199,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7462165855"
    },
    {
      "job": 79942953382,
      "time": 140,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7462182272"
    },
    {
      "job": 79942953387,
      "time": 107,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7462178096"
    },
    {
      "job": 79942953394,
      "time": 86,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7462175664"
    },
    {
      "job": 79942953385,
      "time": 89,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7462175955"
    }
  ],
  "_buildurl": "https://github.com/r-universe/researchverse/actions/runs/27086800512",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/researchverse/raptools",
  "_commit": {
    "id": "0b278186a6791124190b1c1c5582ee1989cd80c0",
    "author": "Daniel <dvicencio947@gmail.com>",
    "committer": "Daniel <dvicencio947@gmail.com>",
    "message": "Update README with version 1.23 changes\n\n- Document all bug fixes and enhancements in version 1.23\n- Mark version 1.23 as current\n- Maintain version history for 1.22, 1.11, 1.10, and 1.03\n",
    "time": 1765317497
  },
  "_maintainer": {
    "name": "Daniel Perez Vicencio",
    "email": "dvicencio947@gmail.com",
    "login": "dvicencio",
    "linkedin": "in/daniel-perez-vicencio-700549a0",
    "description": "",
    "uuid": 75191749
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "rms",
      "role": "Imports"
    },
    {
      "package": "Hmisc",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "pROC",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "forcats",
      "role": "Imports"
    },
    {
      "package": "pracma",
      "role": "Imports"
    },
    {
      "package": "ggrepel",
      "role": "Imports"
    }
  ],
  "_owner": "researchverse",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-40",
      "n": 7
    },
    {
      "week": "2025-44",
      "n": 22
    },
    {
      "week": "2025-45",
      "n": 7
    },
    {
      "week": "2025-47",
      "n": 1
    },
    {
      "week": "2025-49",
      "n": 14
    },
    {
      "week": "2025-50",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "dvicencio",
      "count": 62,
      "uuid": 75191749
    },
    {
      "user": "johnpickering",
      "count": 46,
      "uuid": 8690878
    }
  ],
  "_userbio": {
    "uuid": 240753551,
    "type": "organization",
    "name": "Researchverse"
  },
  "_downloads": {
    "count": 121,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/raptools"
  },
  "_devurl": "https://github.com/researchverse/raptools",
  "_pkgdown": "https://researchverse.github.io/raptools/",
  "_searchresults": 6,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/raptools.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/researchverse/raptools",
  "_realowner": "researchverse",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.22.0",
      "date": "2025-11-24"
    },
    {
      "version": "1.23.0",
      "date": "2025-12-11"
    }
  ],
  "_exports": [
    "anova_glm",
    "CI.classNRI",
    "CI.raplot",
    "extract_NRI_CI",
    "extractCI",
    "ggcalibrate",
    "ggcalibrate_original",
    "ggcontribute",
    "ggdecision",
    "ggprerec",
    "ggrap",
    "ggroc",
    "statistics.classNRI",
    "statistics.raplot"
  ],
  "_datasets": [
    {
      "name": "data_class",
      "title": "Simple data set with classifications",
      "object": "data_class",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "base_class",
        "new_class",
        "outcome"
      ],
      "rows": 444,
      "table": true,
      "tojson": true
    },
    {
      "name": "data_risk",
      "title": "Simple data set with risk predictions",
      "object": "data_risk",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "baseline",
        "new",
        "outcome"
      ],
      "rows": 444,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "anova_glm",
      "title": "The function anova_glm() returns the Chi^2 and degrees of freedom for each variable & the same was anova.rms() does from lrm() in the rms package.",
      "topics": [
        "anova_glm"
      ]
    },
    {
      "page": "CI.classNRI",
      "title": "Statistical metrics and confidence intervals for classes",
      "topics": [
        "CI.classNRI"
      ]
    },
    {
      "page": "CI.raplot",
      "title": "Statistical metrics with confidence intervals",
      "topics": [
        "CI.raplot"
      ]
    },
    {
      "page": "data_class",
      "title": "Simple data set with classifications",
      "topics": [
        "data_class"
      ]
    },
    {
      "page": "data_risk",
      "title": "Simple data set with risk predictions",
      "topics": [
        "data_risk"
      ]
    },
    {
      "page": "extract_NRI_CI",
      "title": "Extract NRI confidence intervals",
      "topics": [
        "extract_NRI_CI"
      ]
    },
    {
      "page": "extractCI",
      "title": "Extract confidence interval",
      "topics": [
        "extractCI"
      ]
    },
    {
      "page": "ggcalibrate",
      "title": "The Calibration plot",
      "topics": [
        "ggcalibrate"
      ]
    },
    {
      "page": "ggcalibrate_original",
      "title": "The Original Calibration plot",
      "topics": [
        "ggcalibrate_original"
      ]
    },
    {
      "page": "ggcontribute",
      "title": "The Contribution plot",
      "topics": [
        "ggcontribute"
      ]
    },
    {
      "page": "ggdecision",
      "title": "The Decision curve",
      "topics": [
        "ggdecision"
      ]
    },
    {
      "page": "ggprerec",
      "title": "The Precision-Recall plot",
      "topics": [
        "ggprerec"
      ]
    },
    {
      "page": "ggrap",
      "title": "The Risk Assessment Plot",
      "topics": [
        "ggrap"
      ]
    },
    {
      "page": "ggroc",
      "title": "The ROC plot",
      "topics": [
        "ggroc"
      ]
    },
    {
      "page": "meta.rap",
      "title": "List meta data",
      "topics": [
        "meta.rap"
      ]
    },
    {
      "page": "statistics.classNRI",
      "title": "Reclassification metrics with classes (ordinals) as inputs",
      "topics": [
        "statistics.classNRI"
      ]
    },
    {
      "page": "statistics.raplot",
      "title": "Statistical metrics",
      "topics": [
        "statistics.raplot"
      ]
    },
    {
      "page": "summary.rap",
      "title": "List risk assessment metrics",
      "topics": [
        "summary.rap"
      ]
    }
  ],
  "_pkglogo": "https://github.com/researchverse/raptools/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/researchverse/raptools/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "base64enc",
    "bslib",
    "cachem",
    "checkmate",
    "cli",
    "cluster",
    "codetools",
    "colorspace",
    "cpp11",
    "data.table",
    "digest",
    "dplyr",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "forcats",
    "foreign",
    "Formula",
    "fs",
    "generics",
    "ggplot2",
    "ggrepel",
    "glue",
    "gridExtra",
    "gtable",
    "highr",
    "Hmisc",
    "htmlTable",
    "htmltools",
    "htmlwidgets",
    "isoband",
    "jquerylib",
    "jsonlite",
    "knitr",
    "labeling",
    "lattice",
    "lifecycle",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixModels",
    "memoise",
    "mime",
    "multcomp",
    "mvtnorm",
    "nlme",
    "nnet",
    "pillar",
    "pkgconfig",
    "polspline",
    "pracma",
    "pROC",
    "purrr",
    "quantreg",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "rmarkdown",
    "rms",
    "rpart",
    "rstudioapi",
    "S7",
    "sandwich",
    "sass",
    "scales",
    "SparseM",
    "stringi",
    "stringr",
    "survival",
    "TH.data",
    "tibble",
    "tidyr",
    "tidyselect",
    "tinytex",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "yaml",
    "zoo"
  ],
  "_score": 3.4771212547196626,
  "_indexed": true,
  "_nocasepkg": "raptools",
  "_universes": [
    "researchverse",
    "dvicencio"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.23.0",
      "date": "2026-06-07T08:06:13.000Z",
      "distro": "noble",
      "commit": "0b278186a6791124190b1c1c5582ee1989cd80c0",
      "fileid": "218f846c90c6c212f270c2686fcc562d5897d882d469ab385c5115ff42f55232",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/researchverse/actions/runs/27086800512"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.23.0",
      "date": "2026-06-07T08:06:34.000Z",
      "distro": "noble",
      "commit": "0b278186a6791124190b1c1c5582ee1989cd80c0",
      "fileid": "1ed38970860030871c95e41438285bbb096dcaa24573be7198bd8014fdf547c5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/researchverse/actions/runs/27086800512"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.23.0",
      "date": "2026-06-07T08:06:19.000Z",
      "commit": "0b278186a6791124190b1c1c5582ee1989cd80c0",
      "fileid": "c22d3482ff865a23c86766e622d83b350b39014a5fce1d995f081d7114db2592",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/researchverse/actions/runs/27086800512"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.23.0",
      "date": "2026-06-07T08:06:14.000Z",
      "commit": "0b278186a6791124190b1c1c5582ee1989cd80c0",
      "fileid": "2111b055cdd0e59bafdb30e64a47e21c5cdcae1431639b60475cca5a724c42b1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/researchverse/actions/runs/27086800512"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.23.0",
      "date": "2026-06-07T08:06:56.000Z",
      "commit": "0b278186a6791124190b1c1c5582ee1989cd80c0",
      "fileid": "23014e1b2a54a44f30582c8e80f1f5222fd3ecad14fb130c46174c5888373035",
      "status": "success",
      "buildurl": "https://github.com/r-universe/researchverse/actions/runs/27086800512"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.23.0",
      "date": "2026-06-07T08:05:43.000Z",
      "commit": "0b278186a6791124190b1c1c5582ee1989cd80c0",
      "fileid": "29c851ee774248cc85095f0a1c2b644ddcf8a949300518a364d6d94bbb92127e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/researchverse/actions/runs/27086800512"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.23.0",
      "date": "2026-06-07T08:05:29.000Z",
      "commit": "0b278186a6791124190b1c1c5582ee1989cd80c0",
      "fileid": "e4384a93838705d70bd0d920ff0ed7d4dc7820d5c757fe6df99fd6f9f05cc196",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/researchverse/actions/runs/27086800512"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.23.0",
      "date": "2026-06-07T08:05:31.000Z",
      "commit": "0b278186a6791124190b1c1c5582ee1989cd80c0",
      "fileid": "9fcb4c08956ff99d95536c4eac0f6cb3eaad69fc6276930dedc98f53d724d240",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/researchverse/actions/runs/27086800512"
    }
  ]
}