{
  "_id": "6a197d09acfb0bcc41df6cfb",
  "Package": "rmda",
  "Type": "Package",
  "Title": "Risk Model Decision Analysis",
  "Version": "1.6",
  "Date": "2018-07-17",
  "Author": "Marshall Brown",
  "Maintainer": "Marshall Brown <mdbrown@fredhutch.org>",
  "Description": "Provides tools to evaluate the value of using a risk\nprediction instrument to decide treatment or intervention\n(versus no treatment or intervention).  Given one or more risk\nprediction instruments (risk models) that estimate the\nprobability of a binary outcome, rmda provides functions to\nestimate and display decision curves and other figures that\nhelp assess the population impact of using a risk model for\nclinical decision making.  Here, \"population\" refers to the\nrelevant patient population. Decision curves display estimates\nof the (standardized) net benefit over a range of probability\nthresholds used to categorize observations as 'high risk'. The\ncurves help evaluate a treatment policy that recommends\ntreatment for patients who are estimated to be 'high risk' by\ncomparing the population impact of a risk-based policy to\n\"treat all\" and \"treat none\" intervention policies.  Curves can\nbe estimated using data from a prospective cohort.  In\naddition, rmda can estimate decision curves using data from a\ncase-control study if an estimate of the population outcome\nprevalence is available.  Version 1.4 of the package provides\nan alternative framing of the decision problem for situations\nwhere treatment is the standard-of-care and a risk model might\nbe used to recommend that low-risk patients (i.e., patients\nbelow some risk threshold) opt out of treatment. Confidence\nintervals calculated using the bootstrap can be computed and\ndisplayed. A wrapper function to calculate cross-validated\ncurves using k-fold cross-validation is also provided.",
  "License": "GPL-2",
  "URL": "http://mdbrown.github.io/rmda/, https://github.com/mdbrown/rmda",
  "LazyData": "TRUE",
  "RoxygenNote": "6.0.1",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://mdbrown.r-universe.dev",
  "Date/Publication": "2018-10-16 21:19:56 UTC",
  "RemoteUrl": "https://github.com/mdbrown/rmda",
  "RemoteRef": "HEAD",
  "RemoteSha": "84a11aff0e21793a834e1127968da644739c6bed",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-29 10:40:59 UTC",
    "User": "root"
  },
  "MD5sum": "89ec63a0d39c2d35e130d69709325886",
  "_user": "mdbrown",
  "_type": "src",
  "_file": "rmda_1.6.tar.gz",
  "_fileid": "1a43308b1acf9e74a6b1ea779a471fd77cfa0ca09373b98dca467509fa5710de",
  "_filesize": 172716,
  "_sha256": "1a43308b1acf9e74a6b1ea779a471fd77cfa0ca09373b98dca467509fa5710de",
  "_created": "2026-05-29T10:40:59.000Z",
  "_published": "2026-05-29T11:48:25.412Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78485171568,
      "time": 185,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7288843932"
    },
    {
      "job": 78485171559,
      "time": 179,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7288842489"
    },
    {
      "job": 78485171586,
      "time": 201,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7289917033"
    },
    {
      "job": 78485171551,
      "time": 154,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7289899487"
    },
    {
      "job": 78484718506,
      "time": 194,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7288792759"
    },
    {
      "job": 78485171570,
      "time": 119,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7288826074"
    },
    {
      "job": 78485171571,
      "time": 161,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7288841121"
    },
    {
      "job": 78485171566,
      "time": 123,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7288827075"
    },
    {
      "job": 78485171583,
      "time": 167,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7288839778"
    }
  ],
  "_buildurl": "https://github.com/r-universe/mdbrown/actions/runs/26632535989",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/mdbrown/rmda",
  "_commit": {
    "id": "84a11aff0e21793a834e1127968da644739c6bed",
    "author": "Marshall Brown <mdbrown@fhcrc.org>",
    "committer": "Marshall Brown <mdbrown@fhcrc.org>",
    "message": "allow to turn off plot grid lines.\n",
    "time": 1539724796
  },
  "_maintainer": {
    "name": "Marshall Brown",
    "email": "mdbrown@fredhutch.org"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "reshape",
      "role": "Imports"
    },
    {
      "package": "pander",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "caret",
      "role": "Imports"
    }
  ],
  "_owner": "mdbrown",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 28,
  "_contributors": [
    {
      "user": "mdbrown",
      "count": 55,
      "uuid": 4674897
    }
  ],
  "_userbio": {
    "uuid": 4674897,
    "type": "user",
    "name": "Marshall Brown"
  },
  "_downloads": {
    "count": 844,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rmda"
  },
  "_mentions": 131,
  "_devurl": "https://github.com/mdbrown/rmda",
  "_searchresults": 128,
  "_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/readme.html",
    "extra/readme.md",
    "extra/rmda.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/mdbrown/rmda",
  "_realowner": "mdbrown",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.4",
      "date": "2017-08-01"
    },
    {
      "version": "1.5",
      "date": "2018-03-21"
    },
    {
      "version": "1.6",
      "date": "2018-07-17"
    }
  ],
  "_exports": [
    "Add_CostBenefit_Axis",
    "cv_decision_curve",
    "decision_curve",
    "plot_clinical_impact",
    "plot_decision_curve",
    "plot_roc_components"
  ],
  "_datasets": [
    {
      "name": "dcaData",
      "title": "Simulated dataset for package 'DecisionCurve'",
      "object": "dcaData",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "Age",
        "Female",
        "Smokes",
        "Marker1",
        "Marker2",
        "Cancer"
      ],
      "rows": 500,
      "table": true,
      "tojson": true
    },
    {
      "name": "dcaData_cc",
      "title": "Simulated dataset for package 'DecisionCurve'",
      "object": "dcaData_cc",
      "class": [
        "tbl_df",
        "data.frame"
      ],
      "fields": [
        "Age",
        "Female",
        "Smokes",
        "Marker1",
        "Marker2",
        "Cancer"
      ],
      "rows": 500,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "rmda-package",
      "title": "rmda: Risk Model Decision Analysis",
      "topics": [
        "rmda-package",
        "rmda"
      ]
    },
    {
      "page": "Add_CostBenefit_Axis",
      "title": "Add cost benefit ratio axis to a decision curve plot.",
      "topics": [
        "Add_CostBenefit_Axis"
      ]
    },
    {
      "page": "cv_decision_curve",
      "title": "Calculate cross-validated decision curves",
      "topics": [
        "cv_decision_curve"
      ]
    },
    {
      "page": "dcaData",
      "title": "Simulated dataset for package 'DecisionCurve'",
      "topics": [
        "dcaData"
      ]
    },
    {
      "page": "dcaData_cc",
      "title": "Simulated dataset for package 'DecisionCurve'",
      "topics": [
        "dcaData_cc"
      ]
    },
    {
      "page": "decision_curve",
      "title": "Calculate net benefit/decision curves",
      "topics": [
        "decision_curve"
      ]
    },
    {
      "page": "plot_clinical_impact",
      "title": "Plot the clinical impact curve from a DecisionCurve object.",
      "topics": [
        "plot_clinical_impact"
      ]
    },
    {
      "page": "plot_decision_curve",
      "title": "Plot the net benefit curves from a decision_curve object or many decision_curve objects",
      "topics": [
        "plot_decision_curve"
      ]
    },
    {
      "page": "plot_roc_components",
      "title": "Plot the components of a ROC curve by the high risk thresholds.",
      "topics": [
        "plot_roc_components"
      ]
    },
    {
      "page": "summary.decision_curve",
      "title": "Displays a useful description of a decision_curve object",
      "topics": [
        "summary.decision_curve"
      ]
    }
  ],
  "_readme": "https://github.com/mdbrown/rmda/raw/HEAD/README.md",
  "_rundeps": [
    "caret",
    "class",
    "cli",
    "clock",
    "codetools",
    "cpp11",
    "data.table",
    "diagram",
    "digest",
    "dplyr",
    "e1071",
    "farver",
    "foreach",
    "future",
    "future.apply",
    "generics",
    "ggplot2",
    "globals",
    "glue",
    "gower",
    "gtable",
    "hardhat",
    "ipred",
    "isoband",
    "iterators",
    "KernSmooth",
    "labeling",
    "lattice",
    "lava",
    "lifecycle",
    "listenv",
    "lubridate",
    "magrittr",
    "MASS",
    "Matrix",
    "ModelMetrics",
    "nlme",
    "nnet",
    "numDeriv",
    "pander",
    "parallelly",
    "pillar",
    "pkgconfig",
    "plyr",
    "pROC",
    "prodlim",
    "progressr",
    "proxy",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "recipes",
    "reshape",
    "reshape2",
    "rlang",
    "rpart",
    "S7",
    "scales",
    "shape",
    "sparsevctrs",
    "SQUAREM",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "timeDate",
    "tzdb",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_score": 6.253338005326107,
  "_indexed": true,
  "_nocasepkg": "rmda",
  "_universes": [
    "mdbrown"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.6",
      "date": "2026-05-29T10:43:19.000Z",
      "distro": "noble",
      "commit": "84a11aff0e21793a834e1127968da644739c6bed",
      "fileid": "c29051f0eeda387e43a4c9cb4c9a43dcd781bb4647ac4a2f9338efa4b8f1a189",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mdbrown/actions/runs/26632535989"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.6",
      "date": "2026-05-29T10:43:18.000Z",
      "distro": "noble",
      "commit": "84a11aff0e21793a834e1127968da644739c6bed",
      "fileid": "03ddad1879497756a42cabacb77cc80a4727e0a6c246d8d6785e0befe2cbc918",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mdbrown/actions/runs/26632535989"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.6",
      "date": "2026-05-29T11:46:59.000Z",
      "commit": "84a11aff0e21793a834e1127968da644739c6bed",
      "fileid": "ca8fe2a0e2e52e4f2beb1857b339bb382a42e90e3ff7d8ff51e54c30dcf4cebc",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mdbrown/actions/runs/26632535989"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.6",
      "date": "2026-05-29T11:45:59.000Z",
      "commit": "84a11aff0e21793a834e1127968da644739c6bed",
      "fileid": "4dd9c10fd832b0724fbd83c46dfaee7aefb33823b6b2fb812d13893fbe7e9f39",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mdbrown/actions/runs/26632535989"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.6",
      "date": "2026-05-29T10:43:20.000Z",
      "commit": "84a11aff0e21793a834e1127968da644739c6bed",
      "fileid": "f91e8eb194b8d2cef8b299f5931676986195d6becde671b3c245bfdaa85db19a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mdbrown/actions/runs/26632535989"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.6",
      "date": "2026-05-29T10:43:18.000Z",
      "commit": "84a11aff0e21793a834e1127968da644739c6bed",
      "fileid": "00366c6234009cda6996d9da776838b191c6ee5d40198234a4fedb56d00d74cb",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mdbrown/actions/runs/26632535989"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.6",
      "date": "2026-05-29T10:42:17.000Z",
      "commit": "84a11aff0e21793a834e1127968da644739c6bed",
      "fileid": "0d26a33560fb31a6d6919c7579bfe2d35f1584660e873f90abd3d42c20c8a45b",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mdbrown/actions/runs/26632535989"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.6",
      "date": "2026-05-29T10:43:01.000Z",
      "commit": "84a11aff0e21793a834e1127968da644739c6bed",
      "fileid": "82f22a9a9e9fee3438058b3030b55ca8457b4ba8cbd65072723a919e17dd20ae",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mdbrown/actions/runs/26632535989"
    }
  ]
}