{
  "_id": "6a06f46f7b0ee7a561a74163",
  "Package": "predictNMB",
  "Type": "Package",
  "Title": "Evaluate Clinical Prediction Models by Net Monetary Benefit",
  "Version": "0.2.1.9000",
  "Authors@R": "c(\nperson(given = \"Rex\",\nfamily = \"Parsons\",\nrole = c(\"aut\", \"cre\"),\nemail = \"rex.parsons94@gmail.com\",\ncomment = c(ORCID = \"0000-0002-6053-8174\")),\nperson(given = \"Robin\",\nfamily = \"Blythe\",\nrole = \"aut\",\ncomment = c(ORCID = \"0000-0002-3643-4332\")),\nperson(given = \"Adrian\",\nfamily = \"Barnett\",\nrole = \"aut\",\ncomment = c(ORCID = \"0000-0001-6339-0374\")),\nperson(given = \"Emi\",\nfamily = \"Tanaka\",\nrole = \"rev\",\ncomment = \"Emi Tanaka reviewed predictNMB for rOpenSci, see\n<https://github.com/ropensci/software-review/issues/566>.\"),\nperson(given = \"Tinula\",\nfamily = \"Kariyawasam\",\nrole = \"rev\",\ncomment = \"Tinula Kariyawasam reviewed predictNMB for rOpenSci, see\n<https://github.com/ropensci/software-review/issues/566>.\"),\nperson(given = \"Susanna\",\nfamily = \"Cramb\",\nrole = \"ctb\",\ncomment = c(ORCID = \"0000-0001-9041-9531\")),\nperson(given = \"Steven\",\nfamily = \"McPhail\",\nrole = \"ctb\",\ncomment = c(ORCID = \"0000-0002-1463-662X\"))\n)",
  "Description": "Estimates when and where a model-guided treatment strategy\nmay outperform a treat-all or treat-none approach by Monte\nCarlo simulation and evaluation of the Net Monetary Benefit.\nDetails can be viewed in Parsons et al. (2023)\n<doi:10.21105/joss.05328>.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "Roxygen": "list (markdown = TRUE, roclets = c (\"namespace\", \"rd\",\n\"srr::srr_stats_roclet\"))",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "URL": "https://docs.ropensci.org/predictNMB/",
  "BugReports": "https://github.com/ropensci/predictNMB/issues",
  "Language": "en-US",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://ropensci.r-universe.dev",
  "Date/Publication": "2024-07-21 23:34:10 UTC",
  "RemoteUrl": "https://github.com/ropensci/predictNMB",
  "RemoteRef": "master",
  "RemoteSha": "8fd168237e445229f5c59033cb4de108eb3ea1d1",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-15 09:56:01 UTC",
    "User": "root"
  },
  "Author": "Rex Parsons [aut, cre] (ORCID: <https://orcid.org/0000-0002-6053-8174>),\nRobin Blythe [aut] (ORCID: <https://orcid.org/0000-0002-3643-4332>),\nAdrian Barnett [aut] (ORCID: <https://orcid.org/0000-0001-6339-0374>),\nEmi Tanaka [rev] (Emi Tanaka reviewed predictNMB for rOpenSci, see\n<https://github.com/ropensci/software-review/issues/566>.),\nTinula Kariyawasam [rev] (Tinula Kariyawasam reviewed predictNMB for\nrOpenSci, see\n<https://github.com/ropensci/software-review/issues/566>.),\nSusanna Cramb [ctb] (ORCID: <https://orcid.org/0000-0001-9041-9531>),\nSteven McPhail [ctb] (ORCID: <https://orcid.org/0000-0002-1463-662X>)",
  "Maintainer": "Rex Parsons <rex.parsons94@gmail.com>",
  "MD5sum": "067028a73a1b8a48be9c404d73f46a0f",
  "_user": "ropensci",
  "_type": "src",
  "_file": "predictNMB_0.2.1.9000.tar.gz",
  "_fileid": "fff95ea1f8f04062304c2f5ec3393581d0e70a89174bbec37d45f8facf6f784d",
  "_filesize": 8885273,
  "_sha256": "fff95ea1f8f04062304c2f5ec3393581d0e70a89174bbec37d45f8facf6f784d",
  "_created": "2026-05-15T09:56:01.000Z",
  "_published": "2026-05-15T10:24:47.575Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 76158428321,
      "time": 256,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7014608977"
    },
    {
      "job": 76158428329,
      "time": 236,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7014603297"
    },
    {
      "job": 76158428324,
      "time": 242,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7015006151"
    },
    {
      "job": 76158428366,
      "time": 184,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7014992318"
    },
    {
      "job": 76157851697,
      "time": 289,
      "config": "pkgdown",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7014545202"
    },
    {
      "job": 76157851699,
      "time": 238,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7014532653"
    },
    {
      "job": 76158428307,
      "time": 151,
      "config": "wasm-release",
      "r": "4.5.1",
      "check": "OK",
      "artifact": "7014578813"
    },
    {
      "job": 76158428351,
      "time": 215,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7014597510"
    },
    {
      "job": 76158428322,
      "time": 189,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7014590061"
    },
    {
      "job": 76158428328,
      "time": 199,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7014592918"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ropensci/actions/runs/25911587383",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/ropensci/predictNMB",
  "_commit": {
    "id": "8fd168237e445229f5c59033cb4de108eb3ea1d1",
    "author": "Rex Parsons <47549264+RWParsons@users.noreply.github.com>",
    "committer": "Rex Parsons <47549264+RWParsons@users.noreply.github.com>",
    "message": "update roxygen version and snaps\n",
    "time": 1721604850
  },
  "_maintainer": {
    "name": "Rex Parsons",
    "email": "rex.parsons94@gmail.com",
    "login": "rwparsons",
    "bluesky": "@rexwp.bsky.social",
    "orcid": "0000-0002-6053-8174",
    "uuid": 47549264
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "assertthat",
      "role": "Imports"
    },
    {
      "package": "cutpointr",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "pmsampsize",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "flextable",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "parallel",
      "role": "Suggests"
    },
    {
      "package": "pbapply",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "vdiffr",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "ropensci",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 10,
  "_contributors": [
    {
      "user": "rwparsons",
      "count": 288,
      "uuid": 47549264
    },
    {
      "user": "robinblythe",
      "count": 12,
      "uuid": 75288837
    },
    {
      "user": "emitanaka",
      "count": 6,
      "uuid": 7620319
    },
    {
      "user": "agbarnett",
      "count": 3,
      "uuid": 23534166
    },
    {
      "user": "stevenmcphail",
      "count": 3,
      "uuid": 120026792
    },
    {
      "user": "maelle",
      "count": 1,
      "uuid": 8360597
    }
  ],
  "_userbio": {
    "uuid": 1200269,
    "type": "organization",
    "name": "rOpenSci",
    "description": "Tools and R Packages for Open Science"
  },
  "_downloads": {
    "count": 242,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/predictNMB"
  },
  "_devurl": "https://github.com/ropensci/predictnmb",
  "_pkgdown": "https://docs.ropensci.org/predictNMB/",
  "_searchresults": 24,
  "_metadata": {
    "review": {
      "id": 566,
      "status": "reviewed",
      "version": "0.0.1",
      "organization": "rOpenSci Software Review",
      "url": "https://github.com/ropensci/software-review/issues/566"
    },
    "ropensci_category": "stat"
  },
  "_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/predictNMB.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/ropensci/predictnmb",
  "_realowner": "ropensci",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2023-04-12"
    },
    {
      "version": "0.2.0",
      "date": "2023-05-19"
    },
    {
      "version": "0.2.1",
      "date": "2023-06-03"
    }
  ],
  "_exports": [
    "%>%",
    "autoplot",
    "ce_plot",
    "do_nmb_sim",
    "evaluate_cutpoint_cost",
    "evaluate_cutpoint_nmb",
    "evaluate_cutpoint_qalys",
    "get_inbuilt_cutpoint",
    "get_inbuilt_cutpoint_methods",
    "get_nmb_sampler",
    "get_sample",
    "get_thresholds",
    "screen_simulation_inputs",
    "theme_sim"
  ],
  "_help": [
    {
      "page": "autoplot.predictNMBscreen",
      "title": "Create plots of from screened predictNMB simulations.",
      "topics": [
        "autoplot.predictNMBscreen"
      ]
    },
    {
      "page": "autoplot.predictNMBsim",
      "title": "Create plots of from predictNMB simulations.",
      "topics": [
        "autoplot.predictNMBsim"
      ]
    },
    {
      "page": "ce_plot",
      "title": "Create a cost-effectiveness plot.",
      "topics": [
        "ce_plot"
      ]
    },
    {
      "page": "ce_plot.predictNMBsim",
      "title": "Create a cost-effectiveness plot.",
      "topics": [
        "ce_plot.predictNMBsim"
      ]
    },
    {
      "page": "do_nmb_sim",
      "title": "Do the predictNMB simulation, evaluating the net monetary benefit (NMB) of the simulated model.",
      "topics": [
        "do_nmb_sim"
      ]
    },
    {
      "page": "evaluate_cutpoint_cost",
      "title": "Evaluates a cutpoint by returning the mean treatment cost per sample.",
      "topics": [
        "evaluate_cutpoint_cost"
      ]
    },
    {
      "page": "evaluate_cutpoint_nmb",
      "title": "Evaluates a cutpoint by returning the mean NMB per sample.",
      "topics": [
        "evaluate_cutpoint_nmb"
      ]
    },
    {
      "page": "evaluate_cutpoint_qalys",
      "title": "Evaluates a cutpoint by returning the mean QALYs lost per sample.",
      "topics": [
        "evaluate_cutpoint_qalys"
      ]
    },
    {
      "page": "get_inbuilt_cutpoint",
      "title": "Get a cutpoint using the methods inbuilt to predictNMB",
      "topics": [
        "get_inbuilt_cutpoint"
      ]
    },
    {
      "page": "get_inbuilt_cutpoint_methods",
      "title": "Get a vector of all the inbuilt cutpoint methods",
      "topics": [
        "get_inbuilt_cutpoint_methods"
      ]
    },
    {
      "page": "get_nmb_sampler",
      "title": "Make a NMB sampler for use in 'do_nmb_sim()' or 'screen_simulation_inputs()'",
      "topics": [
        "get_nmb_sampler"
      ]
    },
    {
      "page": "get_sample",
      "title": "Samples data for a prediction model with a specified AUC and prevalence.",
      "topics": [
        "get_sample"
      ]
    },
    {
      "page": "get_thresholds",
      "title": "Gets probability thresholds given predicted probabilities, outcomes and NMB.",
      "topics": [
        "get_thresholds"
      ]
    },
    {
      "page": "print.predictNMBscreen",
      "title": "Print a summary of a predictNMBscreen object",
      "topics": [
        "print.predictNMBscreen"
      ]
    },
    {
      "page": "print.predictNMBsim",
      "title": "Print a summary of a predictNMBsim object",
      "topics": [
        "print.predictNMBsim"
      ]
    },
    {
      "page": "screen_simulation_inputs",
      "title": "Screen many simulation inputs: a parent function to 'do_nmb_sim()'",
      "topics": [
        "screen_simulation_inputs"
      ]
    },
    {
      "page": "summary.predictNMBscreen",
      "title": "Create table summaries of 'predictNMBscreen' objects.",
      "topics": [
        "summary.predictNMBscreen"
      ]
    },
    {
      "page": "summary.predictNMBsim",
      "title": "Create table summaries of 'predictNMBsim' objects.",
      "topics": [
        "summary.predictNMBsim"
      ]
    },
    {
      "page": "theme_sim",
      "title": "Returns a 'ggplot2' theme that reduces clutter in an 'autoplot()' of a 'predictNMBsim' object.",
      "topics": [
        "theme_sim"
      ]
    }
  ],
  "_pkglogo": "https://github.com/ropensci/predictNMB/raw/master/man/figures/logo.png",
  "_readme": "https://github.com/ropensci/predictNMB/raw/master/README.md",
  "_rundeps": [
    "assertthat",
    "cli",
    "codetools",
    "cpp11",
    "cutpointr",
    "dplyr",
    "farver",
    "foreach",
    "generics",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "isoband",
    "iterators",
    "labeling",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "pmsampsize",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "creating-nmb-functions.Rmd",
      "filename": "creating-nmb-functions.html",
      "title": "Creating NMB functions",
      "engine": "knitr::rmarkdown",
      "headings": [
        "NMB functions",
        "Key considerations",
        "Making functions by hand",
        "Making functions using get_nmb_sampler()",
        "Tracking QALYs",
        "Passing these functions to do_nmb_sim()"
      ],
      "created": "2022-10-26 02:13:58",
      "modified": "2023-05-30 00:11:27",
      "commits": 18
    },
    {
      "source": "detailed-example.Rmd",
      "filename": "detailed-example.html",
      "title": "Detailed example: pressure injury model",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Detailed example",
        "Model inputs",
        "References"
      ],
      "created": "2022-11-08 06:12:51",
      "modified": "2023-05-30 00:11:27",
      "commits": 20
    },
    {
      "source": "predictNMB.Rmd",
      "filename": "predictNMB.html",
      "title": "predictNMB",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "What's being simulated?",
        "Example function",
        "do_nmb_sim()",
        "screen_simulation_inputs()",
        "References"
      ],
      "created": "2023-02-06 03:40:52",
      "modified": "2023-06-02 05:12:49",
      "commits": 14
    },
    {
      "source": "summarising-results-with-predictNMB.Rmd",
      "filename": "summarising-results-with-predictNMB.html",
      "title": "Summarising results from predictNMB",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Making plots with predictNMB",
        "Plotting the results from screen_simulation_inputs()",
        "Choosing the x-axis variable and other constants",
        "Choosing a y-axis variable",
        "Selecting what to show on the plot",
        "Other plot modifications",
        "Plotting the results from do_nmb_sim()",
        "autoplot()",
        "ce_plot()",
        "Making tables with predictNMB",
        "References"
      ],
      "created": "2022-09-26 09:53:15",
      "modified": "2023-06-02 05:12:49",
      "commits": 24
    }
  ],
  "_score": 6.380211241711606,
  "_indexed": true,
  "_nocasepkg": "predictnmb",
  "_universes": [
    "ropensci",
    "rwparsons"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.1.9000",
      "date": "2026-05-15T09:58:37.000Z",
      "distro": "noble",
      "commit": "8fd168237e445229f5c59033cb4de108eb3ea1d1",
      "fileid": "80be3abcb3344a67b8d41cdea0bf5059376bb3751e1e0b2d17a20b677f3ba2fe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/25911587383"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.1.9000",
      "date": "2026-05-15T09:58:25.000Z",
      "distro": "noble",
      "commit": "8fd168237e445229f5c59033cb4de108eb3ea1d1",
      "fileid": "2b2f16ca26150e4c672436685e70a3ee716bee8e61cfc434010447808468bd98",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/25911587383"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.1.9000",
      "date": "2026-05-15T10:22:16.000Z",
      "commit": "8fd168237e445229f5c59033cb4de108eb3ea1d1",
      "fileid": "20c6615e171155ad0ad22bc5225bab2fc41808d76af67eea3f75f3aa1091017e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/25911587383"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.1.9000",
      "date": "2026-05-15T10:22:05.000Z",
      "commit": "8fd168237e445229f5c59033cb4de108eb3ea1d1",
      "fileid": "86231800f405b74408ef9183ab4d0e7143c6c5a493c42a2a1b2abae04982c951",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/25911587383"
    },
    {
      "r": "4.5.1",
      "os": "wasm",
      "version": "0.2.1.9000",
      "date": "2026-05-15T09:58:51.000Z",
      "commit": "8fd168237e445229f5c59033cb4de108eb3ea1d1",
      "fileid": "6cbc179111120d42e3e79b951f02f558105bb8c066d94afa2280714bea292b98",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/25911587383"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.1.9000",
      "date": "2026-05-15T09:57:36.000Z",
      "commit": "8fd168237e445229f5c59033cb4de108eb3ea1d1",
      "fileid": "52801d85c78f54d1ed9c0b08731a25b64041265d8b28cc8ca3096caffa07d691",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/25911587383"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.1.9000",
      "date": "2026-05-15T09:57:21.000Z",
      "commit": "8fd168237e445229f5c59033cb4de108eb3ea1d1",
      "fileid": "e18250dd64550b91ed085e8dff495da212a5b4d240cc7d63b30dec6dacdbfa63",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/25911587383"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.1.9000",
      "date": "2026-05-15T09:57:25.000Z",
      "commit": "8fd168237e445229f5c59033cb4de108eb3ea1d1",
      "fileid": "6bcddbed2906b06505cdd3c96337077d0fbce738540ac0c20503102964252f6e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/25911587383"
    }
  ]
}