{
  "_id": "6a253a1c4b233be1983985b9",
  "Package": "BRcal",
  "Title": "Boldness-Recalibration of Binary Events",
  "Version": "1.0.1",
  "Authors@R": "c(person(\"Adeline P.\", \"Guthrie\", , \"apguthrie47@gmail.com\", role = c(\"aut\", \"cre\"), comment = c(ORCID = \"0009-0000-1548-3648\")),\nperson(\"Christopher T.\", \"Franck\", , \"chfranck@vt.edu\", role = c(\"aut\")))",
  "Description": "Boldness-recalibration maximally spreads out probability\npredictions while maintaining a user specified level of\ncalibration, facilitated the brcal() function. Supporting\nfunctions to assess calibration via Bayesian and Frequentist\napproaches, Maximum Likelihood Estimator (MLE) recalibration,\nLinear in Log Odds (LLO)-adjust via any specified parameters,\nand visualize results are also provided. Methodological details\ncan be found in Guthrie & Franck (2024)\n<doi:10.1080/00031305.2024.2339266>.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "LazyData": "true",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "URL": "https://github.com/apguthrie/BRcal",
  "BugReports": "https://github.com/apguthrie/BRcal/issues",
  "Config/pak/sysreqs": "cmake",
  "Repository": "https://apguthrie.r-universe.dev",
  "Date/Publication": "2024-11-22 23:41:39 UTC",
  "RemoteUrl": "https://github.com/apguthrie/brcal",
  "RemoteRef": "HEAD",
  "RemoteSha": "9219e8f91e1bf38b577070f00ecf19ce13e2f176",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-07 09:25:07 UTC",
    "User": "root"
  },
  "Author": "Adeline P. Guthrie [aut, cre] (ORCID:\n<https://orcid.org/0009-0000-1548-3648>),\nChristopher T. Franck [aut]",
  "Maintainer": "Adeline P. Guthrie <apguthrie47@gmail.com>",
  "MD5sum": "e2c480190d8957678f34c153efdaab84",
  "_user": "apguthrie",
  "_type": "src",
  "_file": "BRcal_1.0.1.tar.gz",
  "_fileid": "9ef66eeae9aa497751f90de48815d438afb83d50c5d2de2627d8fcdaaad90818",
  "_filesize": 7295465,
  "_sha256": "9ef66eeae9aa497751f90de48815d438afb83d50c5d2de2627d8fcdaaad90818",
  "_created": "2026-06-07T09:25:07.000Z",
  "_published": "2026-06-07T09:30:03.872Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79947773752,
      "time": 188,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7462818780"
    },
    {
      "job": 79947773742,
      "time": 186,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7462818527"
    },
    {
      "job": 79947773721,
      "time": 252,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7462821948"
    },
    {
      "job": 79947773733,
      "time": 134,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7462810275"
    },
    {
      "job": 79947505400,
      "time": 279,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7462795326"
    },
    {
      "job": 79947773763,
      "time": 133,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7462812064"
    },
    {
      "job": 79947773757,
      "time": 148,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7462813909"
    },
    {
      "job": 79947773755,
      "time": 149,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7462814057"
    },
    {
      "job": 79947773740,
      "time": 154,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7462814731"
    }
  ],
  "_buildurl": "https://github.com/r-universe/apguthrie/actions/runs/27088480142",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/apguthrie/brcal",
  "_commit": {
    "id": "9219e8f91e1bf38b577070f00ecf19ce13e2f176",
    "author": "apguthrie <54636090+apguthrie@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Update R-CMD-check.yaml build vignette",
    "time": 1732318899
  },
  "_maintainer": {
    "name": "Adeline P. Guthrie",
    "email": "apguthrie47@gmail.com",
    "login": "apguthrie",
    "description": "",
    "uuid": 54636090
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.3",
      "role": "Depends"
    },
    {
      "package": "nloptr",
      "role": "Imports"
    },
    {
      "package": "fields",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "devtools",
      "role": "Suggests"
    },
    {
      "package": "xfun",
      "role": "Suggests"
    },
    {
      "package": "gridExtra",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "apguthrie",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "apguthrie",
      "count": 254,
      "uuid": 54636090
    }
  ],
  "_userbio": {
    "uuid": 54636090,
    "type": "user",
    "name": "apguthrie"
  },
  "_downloads": {
    "count": 148,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/BRcal"
  },
  "_devurl": "https://github.com/apguthrie/brcal",
  "_searchresults": 6,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/BRcal.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/apguthrie/brcal",
  "_realowner": "apguthrie",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.0.4",
      "date": "2024-06-25"
    },
    {
      "version": "1.0.0",
      "date": "2024-09-13"
    },
    {
      "version": "1.0.1",
      "date": "2024-10-14"
    }
  ],
  "_exports": [
    "bayes_ms",
    "brcal",
    "lineplot",
    "LLO",
    "llo_lrt",
    "mle_recal",
    "plot_params"
  ],
  "_datasets": [
    {
      "name": "foreclosure",
      "title": "Foreclosure Monitoring Predictions data",
      "object": "foreclosure",
      "class": [
        "data.frame"
      ],
      "fields": [
        "y",
        "x",
        "year"
      ],
      "rows": 5000,
      "table": true,
      "tojson": true
    },
    {
      "name": "hockey",
      "title": "Hockey Home Team Win Predictions data",
      "object": "hockey",
      "class": [
        "data.frame"
      ],
      "fields": [
        "y",
        "x",
        "rand",
        "winner"
      ],
      "rows": 868,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "bayes_ms",
      "title": "Bayesian Model Selection-Based Calibration Assessment",
      "topics": [
        "bayes_ms"
      ]
    },
    {
      "page": "brcal",
      "title": "Boldness-Recalibration for Binary Events",
      "topics": [
        "brcal"
      ]
    },
    {
      "page": "foreclosure",
      "title": "Foreclosure Monitoring Predictions data",
      "topics": [
        "foreclosure"
      ]
    },
    {
      "page": "hockey",
      "title": "Hockey Home Team Win Predictions data",
      "topics": [
        "hockey"
      ]
    },
    {
      "page": "lineplot",
      "title": "Lineplot for LLO-adjusted Probability Predictions",
      "topics": [
        "lineplot"
      ]
    },
    {
      "page": "LLO",
      "title": "Linear Log Odds (LLO) Recalibration Function",
      "topics": [
        "LLO"
      ]
    },
    {
      "page": "llo_lrt",
      "title": "Likelihood Ratio Test for Calibration",
      "topics": [
        "llo_lrt"
      ]
    },
    {
      "page": "mle_recal",
      "title": "Recalibration via Maximum Likelihood Estimates (MLEs)",
      "topics": [
        "mle_recal"
      ]
    },
    {
      "page": "plot_params",
      "title": "Draw image plot of posterior model probability surface.",
      "topics": [
        "plot_params"
      ]
    }
  ],
  "_readme": "https://github.com/apguthrie/brcal/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "dotCall64",
    "farver",
    "fields",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "maps",
    "nloptr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "S7",
    "scales",
    "spam",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "hockey_vignette.Rmd",
      "filename": "hockey_vignette.html",
      "title": "Using BRcal to Assess and Embolden Probability Forecasts",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Installation",
        "Illustrative Data Analysis with Core Functionality",
        "Loading the Data",
        "Common Convention Across the BRcal Package",
        "Assessing Calibration via bayes_ms() and llo_lrt()",
        "Bayesian Model Selection-based approach (bayes_ms())",
        "Setting the prior model probabilities via Pmc",
        "Likelihood Ratio Test for Calibration (llo_lrt())",
        "MLE Recalibration",
        "Specifying probs_only = TRUE",
        "Visualizing MLE-recalibrated Probabilities via lineplot()",
        "Boldness-Recalibration via brcal()",
        "Visualizing Boldness-Recalibrated Probabilities via lineplot()",
        "Using tau = TRUE",
        "Additional Features and Details",
        "Passing Additional / Different Arguments to nloptr()",
        "Start Values",
        "Algorithm",
        "Bounds",
        "Stopping criteria",
        "Suppressing output from nloptr()",
        "Passing Additional / Different Arguments to optim()",
        "Conventions for Passing Arguments to optim()",
        "Stopping Criteria",
        "Algorithm and Bounds",
        "Suppressing the output from optim()",
        "Passing Arguments via a List",
        "Linear in Log Odds (LLO) function LLO()",
        "Using LLO() with MLEs or Boldness-Recalibration Estimates",
        "Extreme Value of delta or gamma",
        "Specifying epsilon",
        "Specifying event",
        "Visualizing Posterior Model Probability as a Function of $\\delta$ and $\\gamma$ via plot_params()",
        "Setting bounds and grid density",
        "Saving and Reusing z",
        "Adding contours and using countors_only=TRUE",
        "Passing Additional / Different Arguments to image.plot() and contour()",
        "Visualizing Recalibrated Probability Forecasts via lineplot()",
        "Specifying Levels of Boldness-Recalibration via t_levels",
        "Saving and reusing df",
        "Omitting the Original or MLE-Recalibrated sets from plotting via plot_original and plot_MLE",
        "Cosmetic Adjustments",
        "Thinning",
        "Passing Additional Arguments to optim and nloptr",
        "References"
      ],
      "created": "2024-06-16 18:32:56",
      "modified": "2024-09-13 14:43:03",
      "commits": 5
    }
  ],
  "_score": 3.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "brcal",
  "_universes": [
    "apguthrie"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-06-07T09:27:52.000Z",
      "distro": "noble",
      "commit": "9219e8f91e1bf38b577070f00ecf19ce13e2f176",
      "fileid": "8bdb7945093709578a2297e1f8f67c19cb44f155b440639cc7c26fbc2a677df4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/apguthrie/actions/runs/27088480142"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-06-07T09:27:50.000Z",
      "distro": "noble",
      "commit": "9219e8f91e1bf38b577070f00ecf19ce13e2f176",
      "fileid": "f115220420ac3eead285a3136de8b3a07d499d840d721f94144f3927e5f1619c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/apguthrie/actions/runs/27088480142"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-06-07T09:28:20.000Z",
      "commit": "9219e8f91e1bf38b577070f00ecf19ce13e2f176",
      "fileid": "3b0e42b6deb8eeeeea64b270248f1b851dcb33baaf2806ac1e3cbdeabebe38e5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/apguthrie/actions/runs/27088480142"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-06-07T09:27:05.000Z",
      "commit": "9219e8f91e1bf38b577070f00ecf19ce13e2f176",
      "fileid": "80046bb57e7b6387e740e89fa0401f26b4b064986d30f85d77b47ac7dc077217",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/apguthrie/actions/runs/27088480142"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.1",
      "date": "2026-06-07T09:27:47.000Z",
      "commit": "9219e8f91e1bf38b577070f00ecf19ce13e2f176",
      "fileid": "dd51b67cbe22e5a4800f8d1f5b796d358322fd86123d041bd0b65a8ac9c0a9ba",
      "status": "success",
      "buildurl": "https://github.com/r-universe/apguthrie/actions/runs/27088480142"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-06-07T09:26:50.000Z",
      "commit": "9219e8f91e1bf38b577070f00ecf19ce13e2f176",
      "fileid": "e1b131a59763174f718402efd5e2ad864bbb27abc9491e1d46539d6aa014f43a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/apguthrie/actions/runs/27088480142"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-06-07T09:26:50.000Z",
      "commit": "9219e8f91e1bf38b577070f00ecf19ce13e2f176",
      "fileid": "1b3fd9c2f3346746d255cf1acd1d06a67e93a1de80adf1140e569ad49d23006b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/apguthrie/actions/runs/27088480142"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-06-07T09:26:53.000Z",
      "commit": "9219e8f91e1bf38b577070f00ecf19ce13e2f176",
      "fileid": "7ad3b1164c6420dfaa1eaa1904b4fafc28cc827e34a892681d71463cfaa2e492",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/apguthrie/actions/runs/27088480142"
    }
  ]
}