{
  "_id": "6adc9aac58000136b5c840bb",
  "Package": "raptools",
  "Title": "Risk Assessment Plot and Reclassification Metrics",
  "Version": "1.24.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.2215/CJN.09590911> 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": "2026-09-24 20:58:25 UTC",
  "RemoteUrl": "https://github.com/researchverse/raptools",
  "RemoteRef": "HEAD",
  "RemoteSha": "9087c18140844bf0d675198fccc693862202dc94",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-24 11:42:51 UTC",
    "User": "root"
  },
  "Author": "John W Pickering [aut],\nDimitrios Doudesis [aut],\nDaniel Perez Vicencio [cre]",
  "Maintainer": "Daniel Perez Vicencio <dvicencio947@gmail.com>",
  "_user": "researchverse",
  "_type": "src",
  "_file": "raptools_1.24.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/83697113e3f4f748bc4e7f898fcf5ad4141e29e8a83d6cd5acf585187a412e0a",
  "_filesize": 780698,
  "_sha256": "83697113e3f4f748bc4e7f898fcf5ad4141e29e8a83d6cd5acf585187a412e0a",
  "_expires": "2027-02-01T11:46:51.000Z",
  "_created": "2026-10-24T11:42:51.000Z",
  "_published": "2026-10-24T11:46:52.722Z",
  "_upstream": "https://github.com/researchverse/raptools",
  "_status": "success",
  "_maintainer": {
    "name": "Daniel Perez Vicencio",
    "email": "dvicencio947@gmail.com",
    "login": "dvicencio",
    "linkedin": "in/daniel-perez-vicencio-700549a0",
    "description": "",
    "uuid": 75191749
  },
  "_jobs": [
    {
      "job": 120863527675,
      "time": 138,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12558698800"
    },
    {
      "job": 120863527615,
      "time": 140,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12559296415"
    },
    {
      "job": 120863527596,
      "time": 179,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12559300674"
    },
    {
      "job": 120863527671,
      "time": 147,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12559052766"
    },
    {
      "job": 120862064971,
      "time": 453,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12559425054"
    },
    {
      "job": 120863527659,
      "time": 108,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12558773567"
    },
    {
      "job": 120863527627,
      "time": 90,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12558604237"
    },
    {
      "job": 120863527801,
      "time": 86,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12559176102"
    },
    {
      "job": 120863527648,
      "time": 93,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12558677483"
    }
  ],
  "_buildurl": "https://github.com/r-universe/researchverse/actions/runs/40090497933",
  "_commit": {
    "id": "9087c18140844bf0d675198fccc693862202dc94",
    "author": "Daniel Perez Vicencio <75191749+dvicencio@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #2 from Researchverse/feature/calibration-ci\n\nCalibration plot CIs, actuals option and Bland-Altman calibration plot",
    "time": 1790283505
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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-44",
      "n": 22
    },
    {
      "week": "2025-45",
      "n": 7
    },
    {
      "week": "2025-47",
      "n": 1
    },
    {
      "week": "2025-49",
      "n": 14
    },
    {
      "week": "2025-50",
      "n": 2
    },
    {
      "week": "2026-39",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v1.23.0",
      "date": "2025-12-09"
    }
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "dvicencio",
      "count": 66,
      "uuid": 75191749
    },
    {
      "user": "johnpickering",
      "count": 46,
      "uuid": 8690878
    }
  ],
  "_userbio": {
    "uuid": 240753551,
    "type": "organization",
    "name": "Researchverse",
    "followers": 0
  },
  "_downloads": {
    "count": 425,
    "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.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/raptools.html",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_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"
    },
    {
      "version": "1.24.0",
      "date": "2026-10-01"
    }
  ],
  "_exports": [
    "anova_glm",
    "CI.classNRI",
    "CI.raplot",
    "extract_NRI_CI",
    "extractCI",
    "ggcalibrate",
    "ggcalibrate_BA",
    "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_BA",
      "title": "The Bland-Altman style Calibration plot",
      "topics": [
        "ggcalibrate_BA"
      ]
    },
    {
      "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.24.0",
      "date": "2026-10-24T11:44:58.000Z",
      "distro": "resolute",
      "commit": "9087c18140844bf0d675198fccc693862202dc94",
      "fileid": "https://r2.ropensci.org/b47c617315a18af3ca3ccce748d1f6b0e574bda5b6700cf456a75987c25b3c99",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/researchverse/actions/runs/40090497933"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.24.0",
      "date": "2026-10-24T11:44:55.000Z",
      "distro": "resolute",
      "commit": "9087c18140844bf0d675198fccc693862202dc94",
      "fileid": "https://r2.ropensci.org/9ff7cf2749b2115d77ea9f3c8fc1567a8dc751a34a024cde6235b19de0518936",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/researchverse/actions/runs/40090497933"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.24.0",
      "date": "2026-10-24T11:45:19.000Z",
      "commit": "9087c18140844bf0d675198fccc693862202dc94",
      "fileid": "https://r2.ropensci.org/71a47087084e4c26ec7aefb119d09d112b0ce3a8376c28204ab23c3e816c0333",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/researchverse/actions/runs/40090497933"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.24.0",
      "date": "2026-10-24T11:45:45.000Z",
      "commit": "9087c18140844bf0d675198fccc693862202dc94",
      "fileid": "https://r2.ropensci.org/691965b7b05d7d8274aa969b353c9046f0bd807218fee4037d506ce64b435aa9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/researchverse/actions/runs/40090497933"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.24.0",
      "date": "2026-10-24T11:44:54.000Z",
      "commit": "9087c18140844bf0d675198fccc693862202dc94",
      "fileid": "https://r2.ropensci.org/3d91302db199aad5f9c72c6c3da5d8d2f43565221b099aead2ecd25424e5e624",
      "status": "success",
      "buildurl": "https://github.com/r-universe/researchverse/actions/runs/40090497933"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.24.0",
      "date": "2026-10-24T11:43:58.000Z",
      "commit": "9087c18140844bf0d675198fccc693862202dc94",
      "fileid": "https://r2.ropensci.org/52ee4f31c06b223f66f6a739a21856e6c041c8eb79e399608f61d26f8bcb0839",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/researchverse/actions/runs/40090497933"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.24.0",
      "date": "2026-10-24T11:43:58.000Z",
      "commit": "9087c18140844bf0d675198fccc693862202dc94",
      "fileid": "https://r2.ropensci.org/385fe1c0632fba1a89564b9ac10a169138b685b33955a1ddc48727a81a96aca0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/researchverse/actions/runs/40090497933"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.24.0",
      "date": "2026-10-24T11:44:06.000Z",
      "commit": "9087c18140844bf0d675198fccc693862202dc94",
      "fileid": "https://r2.ropensci.org/922930ddde834681e3a3d53f4dcd6b52c624127807c9fc0f6a2c570cb9d16934",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/researchverse/actions/runs/40090497933"
    }
  ]
}