Skip to content

brisk

Bayesian Benefit Risk Analysis

v0.1.1 · Mar 4, 2026 · MIT + file LICENSE

Description

Quantitative methods for benefit-risk analysis help to condense complex decisions into a univariate metric describing the overall benefit relative to risk. One approach is to use the multi-criteria decision analysis framework (MCDA), as in Mussen, Salek, and Walker (2007) <doi:10.1002/pds.1435>. Bayesian benefit-risk analysis incorporates uncertainty through posterior distributions which are inputs to the benefit-risk framework. The brisk package provides functions to assist with Bayesian benefit-risk analyses, such as MCDA. Users input posterior samples, utility functions, weights, and the package outputs quantitative benefit-risk scores. The posterior of the benefit-risk scores for each group can be compared. Some plotting capabilities are also included.

Downloads

921

Last 30 days

3978th

2.5K

Last 90 days

8.7K

Last year

Trend: +11.1% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 11, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 10, 2026
ERROR r-patched-linux-x86_64

examples

Running examples in ‘brisk-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: benefit
> ### Title: Bayesian Benefit Risk
> ### Aliases: benefit risk br mcda
> 
> ### ** Examples
> 
>
...[truncated]...
:signal_abort(cnd, .file)
 11. │     └─base::signalCondition(cnd)
 12. └─dplyr (local) `<fn>`(`<dpl:::__>`)
 13.   └─dplyr (local) handler(cnd)
 14.     └─rlang::abort(message, class = error_class, parent = parent, call = error_call)
Execution halted

Dependency Network

Dependencies Reverse dependencies dplyr ggplot2 hitandrun purrr rlang tidyr brisk

Version History

new 0.1.1 Mar 10, 2026
updated 0.1.1 ← 0.1.0 diff Mar 3, 2026
new 0.1.0 Aug 30, 2022