{
  "_id": "6ac37a387d74fca524f995fd",
  "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-10-05 10:15:11 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>",
  "_user": "apguthrie",
  "_type": "src",
  "_file": "BRcal_1.0.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/a744a88725b13f089567a55f3d2d3a7c169f66277dd6181f3871d2382c8efb46",
  "_filesize": 7293784,
  "_sha256": "a744a88725b13f089567a55f3d2d3a7c169f66277dd6181f3871d2382c8efb46",
  "_expires": "2027-01-13T10:21:41.000Z",
  "_created": "2026-10-05T10:15:11.000Z",
  "_published": "2026-10-05T10:21:44.627Z",
  "_jobs": [
    {
      "job": 111715408970,
      "time": 173,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11338183077"
    },
    {
      "job": 111715408976,
      "time": 209,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11338955694"
    },
    {
      "job": 111715408986,
      "time": 182,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11337848561"
    },
    {
      "job": 111715409012,
      "time": 171,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11339060089"
    },
    {
      "job": 111713472550,
      "time": 318,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11338661298"
    },
    {
      "job": 111715408997,
      "time": 122,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11338367457"
    },
    {
      "job": 111715408988,
      "time": 117,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11337948430"
    },
    {
      "job": 111715408926,
      "time": 136,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11339035050"
    },
    {
      "job": 111715408989,
      "time": 122,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11338656714"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/apguthrie/actions/runs/37294781105",
  "_status": "success",
  "_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,
    "orcid": "0009-0000-1548-3648"
  },
  "_distro": "resolute",
  "_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",
    "followers": 1
  },
  "_downloads": {
    "count": 339,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/BRcal"
  },
  "_devurl": "https://github.com/apguthrie/brcal",
  "_searchresults": 6,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/BRcal.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_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-10-05T10:18:42.000Z",
      "distro": "resolute",
      "commit": "9219e8f91e1bf38b577070f00ecf19ce13e2f176",
      "fileid": "https://r2.ropensci.org/35b1a873436b9b0ce4462db5c58509136fc5270740ed5502118d6f83232faf85",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/apguthrie/actions/runs/37294781105"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-10-05T10:18:26.000Z",
      "distro": "resolute",
      "commit": "9219e8f91e1bf38b577070f00ecf19ce13e2f176",
      "fileid": "https://r2.ropensci.org/b1f4f9ca8423c57920e62926d99fdc071ff08dd5cfb9de8d18671ffcd7e20bf1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/apguthrie/actions/runs/37294781105"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-10-05T10:17:40.000Z",
      "commit": "9219e8f91e1bf38b577070f00ecf19ce13e2f176",
      "fileid": "https://r2.ropensci.org/bb5ce3b5da2bf189d6c679e336d557fa556ba5748f1ae326824792bf39f7a191",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/apguthrie/actions/runs/37294781105"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-10-05T10:17:26.000Z",
      "commit": "9219e8f91e1bf38b577070f00ecf19ce13e2f176",
      "fileid": "https://r2.ropensci.org/57e79cf96283c2a60bf74df084172feaa8b5de5e7eabb95de9e464307f5e41a8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/apguthrie/actions/runs/37294781105"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.1",
      "date": "2026-10-05T10:17:43.000Z",
      "commit": "9219e8f91e1bf38b577070f00ecf19ce13e2f176",
      "fileid": "https://r2.ropensci.org/2098df8b1727ae9add09ce9edf93817c48f7aef0a01b45c2b9c67742c2163b8a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/apguthrie/actions/runs/37294781105"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-10-05T10:16:43.000Z",
      "commit": "9219e8f91e1bf38b577070f00ecf19ce13e2f176",
      "fileid": "https://r2.ropensci.org/ecbecc98da1b16a2032b04cc2cedcc9ad8c57f6c4104426c29fa6ea8ac5536b3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/apguthrie/actions/runs/37294781105"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-10-05T10:16:35.000Z",
      "commit": "9219e8f91e1bf38b577070f00ecf19ce13e2f176",
      "fileid": "https://r2.ropensci.org/e3a66c77787a46b7bb53ed85219527a6177a7ac0aab40c38b201b03352affa8b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/apguthrie/actions/runs/37294781105"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-10-05T10:16:36.000Z",
      "commit": "9219e8f91e1bf38b577070f00ecf19ce13e2f176",
      "fileid": "https://r2.ropensci.org/58b29e47e9c063269fd1594eba36cb2b9ff04a7ca12adcf7a5fb7c233bb0ace9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/apguthrie/actions/runs/37294781105"
    }
  ]
}