{
  "_id": "6a142a65acfb0bcc41d408b5",
  "Type": "Package",
  "Package": "BayesianReasoning",
  "Title": "Plot Positive and Negative Predictive Values for Medical Tests",
  "Version": "0.4.3",
  "Date": "2025-08-23",
  "Authors@R": "person(\"Gorka\", \"Navarrete\", , \"gorkang@gmail.com\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0001-7678-8656\"))",
  "Maintainer": "Gorka Navarrete <gorkang@gmail.com>",
  "Description": "Functions to plot and help understand positive and\nnegative predictive values (PPV and NPV), and their\nrelationship with sensitivity, specificity, and prevalence. See\nAkobeng, A.K. (2007) <doi:10.1111/j.1651-2227.2006.00180.x> for\na theoretical overview of the technical concepts and Navarrete\net al. (2015) for a practical explanation about the importance\nof their understanding <doi:10.3389/fpsyg.2015.01327>.",
  "License": "CC0",
  "URL": "https://github.com/gorkang/BayesianReasoning",
  "BugReports": "https://github.com/gorkang/BayesianReasoning/issues",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "cmake libfontconfig1-dev libfreetype6-dev make\nlibicu-dev libjpeg-dev libpng-dev libuv1-dev libxml2-dev\nlibssl-dev libnode-dev",
  "Repository": "https://gorkang.r-universe.dev",
  "Date/Publication": "2025-08-23 07:28:47 UTC",
  "RemoteUrl": "https://github.com/gorkang/bayesianreasoning",
  "RemoteRef": "HEAD",
  "RemoteSha": "41749c984a29e0818a3a959cb0709e7b267fc692",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-25 10:50:43 UTC",
    "User": "root"
  },
  "Author": "Gorka Navarrete [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-7678-8656>)",
  "MD5sum": "84f6c88786dd8baa82843783d08ff1d6",
  "_user": "gorkang",
  "_type": "src",
  "_file": "BayesianReasoning_0.4.3.tar.gz",
  "_fileid": "c0b0b0477e072c0b7ef32cb523341bef59db8d3862846bda87a28b2ba2028307",
  "_filesize": 5307453,
  "_sha256": "c0b0b0477e072c0b7ef32cb523341bef59db8d3862846bda87a28b2ba2028307",
  "_created": "2026-05-25T10:50:43.000Z",
  "_published": "2026-05-25T10:54:29.287Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77699047194,
      "time": 187,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7196786578"
    },
    {
      "job": 77699047222,
      "time": 189,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7196787054"
    },
    {
      "job": 77699047172,
      "time": 126,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7196771880"
    },
    {
      "job": 77699047178,
      "time": 107,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7196767236"
    },
    {
      "job": 77698611382,
      "time": 215,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7196741148"
    },
    {
      "job": 77699047168,
      "time": 128,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7196772321"
    },
    {
      "job": 77699047165,
      "time": 139,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7196776589"
    },
    {
      "job": 77699047177,
      "time": 131,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7196773885"
    },
    {
      "job": 77699047170,
      "time": 117,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7196769862"
    }
  ],
  "_buildurl": "https://github.com/r-universe/gorkang/actions/runs/26396577489",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/gorkang/bayesianreasoning",
  "_commit": {
    "id": "41749c984a29e0818a3a959cb0709e7b267fc692",
    "author": "G <gorkang@gmail.com>",
    "committer": "G <gorkang@gmail.com>",
    "message": "add new line at the end\n",
    "time": 1755934127
  },
  "_maintainer": {
    "name": "Gorka Navarrete",
    "email": "gorkang@gmail.com",
    "login": "gorkang",
    "mastodon": "@gorkang@fosstodon.org",
    "bluesky": "@gorkang.bsky.social",
    "orcid": "0000-0001-7678-8656",
    "description": "Bayesian reasoning and shared medical decision making. Departamento de Psicología Cognitiva, Social y Organizacional. Universidad de La Laguna.",
    "uuid": 6491790
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "ggforce",
      "version": ">= 0.4.0",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "ggtext",
      "role": "Imports"
    },
    {
      "package": "gt",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "png",
      "role": "Imports"
    },
    {
      "package": "reshape2",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "curl",
      "role": "Suggests"
    },
    {
      "package": "httr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "patchwork",
      "role": "Suggests"
    },
    {
      "package": "purrr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "vdiffr",
      "role": "Suggests"
    },
    {
      "package": "webshot2",
      "role": "Suggests"
    }
  ],
  "_owner": "gorkang",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-25",
      "n": 2
    },
    {
      "week": "2025-26",
      "n": 1
    },
    {
      "week": "2025-34",
      "n": 3
    }
  ],
  "_tags": [
    {
      "name": "v0.4.3",
      "date": "2025-08-23"
    }
  ],
  "_topics": [
    "bayesian-inference",
    "negative-predictive-value",
    "positive-predictive-value"
  ],
  "_stars": 9,
  "_contributors": [
    {
      "user": "gorkang",
      "count": 253,
      "uuid": 6491790
    }
  ],
  "_userbio": {
    "uuid": 6491790,
    "type": "user",
    "name": "Gorka Navarrete",
    "description": "Bayesian reasoning and shared medical decision making. Departamento de Psicología Cognitiva, Social y Organizacional. Universidad de La Laguna."
  },
  "_downloads": {
    "count": 576,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/BayesianReasoning"
  },
  "_devurl": "https://github.com/gorkang/bayesianreasoning",
  "_searchresults": 14,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/BayesianReasoning.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/gorkang/bayesianreasoning",
  "_realowner": "gorkang",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.3.1",
      "date": "2020-06-30"
    },
    {
      "version": "0.3.2",
      "date": "2020-07-03"
    },
    {
      "version": "0.3.3",
      "date": "2021-06-21"
    },
    {
      "version": "0.4.0",
      "date": "2021-12-21"
    },
    {
      "version": "0.4.1",
      "date": "2022-01-07"
    },
    {
      "version": "0.4.2",
      "date": "2023-11-14"
    },
    {
      "version": "0.4.3",
      "date": "2025-08-23"
    }
  ],
  "_exports": [
    "%>%",
    "min_possible_prevalence",
    "plot_cutoff",
    "PPV_diagnostic_vs_screening",
    "PPV_heatmap",
    "remove_layers_cutoff_plot"
  ],
  "_help": [
    {
      "page": "min_possible_prevalence",
      "title": "Show minimum possible prevalence given the test characteristics",
      "topics": [
        "min_possible_prevalence"
      ]
    },
    {
      "page": "plot_cutoff",
      "title": "plot_cutoff Create a cutoff plot, showing the healthy and sick distributions, and the consequences of different cutoff points",
      "topics": [
        "plot_cutoff"
      ]
    },
    {
      "page": "PPV_diagnostic_vs_screening",
      "title": "Plot PPV values for a diagnostic and a screening group",
      "topics": [
        "PPV_diagnostic_vs_screening"
      ]
    },
    {
      "page": "PPV_heatmap",
      "title": "Plot PPV and NPV heatmaps",
      "topics": [
        "PPV_heatmap"
      ]
    },
    {
      "page": "remove_layers_cutoff_plot",
      "title": "remove_layers_cutoff_plot Remove layers from a cutoff plot. This is useful to show how different things are calculated (e.g. Sensitivity)",
      "topics": [
        "remove_layers_cutoff_plot"
      ]
    }
  ],
  "_pkglogo": "https://github.com/gorkang/bayesianreasoning/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/gorkang/bayesianreasoning/raw/HEAD/README.md",
  "_rundeps": [
    "base64enc",
    "bigD",
    "bitops",
    "bslib",
    "cachem",
    "cli",
    "commonmark",
    "cpp11",
    "curl",
    "digest",
    "dplyr",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "fs",
    "generics",
    "ggforce",
    "ggplot2",
    "ggtext",
    "glue",
    "gridtext",
    "gt",
    "gtable",
    "highr",
    "htmltools",
    "htmlwidgets",
    "isoband",
    "jpeg",
    "jquerylib",
    "jsonlite",
    "juicyjuice",
    "knitr",
    "labeling",
    "lifecycle",
    "litedown",
    "magrittr",
    "markdown",
    "MASS",
    "memoise",
    "mime",
    "pillar",
    "pkgconfig",
    "plyr",
    "png",
    "polyclip",
    "purrr",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "reactable",
    "reactR",
    "reshape2",
    "rlang",
    "rmarkdown",
    "S7",
    "sass",
    "scales",
    "stringi",
    "stringr",
    "systemfonts",
    "tibble",
    "tidyr",
    "tidyselect",
    "tinytex",
    "tweenr",
    "utf8",
    "V8",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "xml2",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "introduction.Rmd",
      "filename": "introduction.html",
      "title": "Introduction to BayesianReasoning",
      "author": "Gorka Navarrete",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Bayesian reasoning",
        "Bayesian reasoning in medical contexts",
        "PPV_heatmap()",
        "NPV",
        "Area overlay",
        "Line overlay",
        "PPV_diagnostic_vs_screening()",
        "min_possible_prevalence()",
        "plot_cutoff()"
      ],
      "created": "2018-09-28 14:40:57",
      "modified": "2025-06-20 19:29:17",
      "commits": 22
    },
    {
      "source": "PPV_NPV.Rmd",
      "filename": "PPV_NPV.html",
      "title": "Screening tests and PPV vs NPV",
      "author": "Gorka Navarrete",
      "engine": "knitr::rmarkdown",
      "headings": [
        "PPV and NPV definitions",
        "Example",
        "PPV",
        "NPV",
        "Combined PPV + NPV",
        "Sources"
      ],
      "created": "2020-07-03 13:13:29",
      "modified": "2025-06-20 19:29:17",
      "commits": 10
    }
  ],
  "_score": 5.577491799837226,
  "_indexed": true,
  "_nocasepkg": "bayesianreasoning",
  "_universes": [
    "gorkang"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.3",
      "date": "2026-05-25T10:53:15.000Z",
      "distro": "noble",
      "commit": "41749c984a29e0818a3a959cb0709e7b267fc692",
      "fileid": "a0502b7966fbd5a1ab33596d87d9dc20ee8bb4c280b3cacdd68ccd5b952917ce",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gorkang/actions/runs/26396577489"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.4.3",
      "date": "2026-05-25T10:53:17.000Z",
      "distro": "noble",
      "commit": "41749c984a29e0818a3a959cb0709e7b267fc692",
      "fileid": "689da7d7d2f9e8797f409ba9fdf14f9816eee9736589703640439adb608e5445",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gorkang/actions/runs/26396577489"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.3",
      "date": "2026-05-25T10:52:29.000Z",
      "commit": "41749c984a29e0818a3a959cb0709e7b267fc692",
      "fileid": "ab63920877c09e0fd2a726acce66798aa0242a4b2135a180cfb28afe527095fb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gorkang/actions/runs/26396577489"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.4.3",
      "date": "2026-05-25T10:52:17.000Z",
      "commit": "41749c984a29e0818a3a959cb0709e7b267fc692",
      "fileid": "764d147f8ffd244e37f8c745b0d8a408f8723d74427ce1cdbe73ea4e7f901ebb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gorkang/actions/runs/26396577489"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.3",
      "date": "2026-05-25T10:53:07.000Z",
      "commit": "41749c984a29e0818a3a959cb0709e7b267fc692",
      "fileid": "eb115d14c59ab88f3fbbc7473ad3e3bd700604676e9cb17e26c3860928a279a0",
      "status": "success",
      "buildurl": "https://github.com/r-universe/gorkang/actions/runs/26396577489"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.3",
      "date": "2026-05-25T10:52:11.000Z",
      "commit": "41749c984a29e0818a3a959cb0709e7b267fc692",
      "fileid": "fc12747d2e3cdb6572a8e16c3c2d68da9b8aec437a7e02f35b076f390d2872f2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gorkang/actions/runs/26396577489"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.3",
      "date": "2026-05-25T10:52:06.000Z",
      "commit": "41749c984a29e0818a3a959cb0709e7b267fc692",
      "fileid": "20b26d409376f54e4dea47b8d7dd4174cad190f57353b98c7f2964ff80271107",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gorkang/actions/runs/26396577489"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.4.3",
      "date": "2026-05-25T10:51:58.000Z",
      "commit": "41749c984a29e0818a3a959cb0709e7b267fc692",
      "fileid": "bc224c864fe1173e05a51dc0beb41d3c458902338c4bb5993775c4c930ccdcdb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gorkang/actions/runs/26396577489"
    }
  ]
}