Self-Adapting Mixture (SAM) Priors
0packages depend
3.4Kdownloads / year
–test coverage
13/13flavors OK
Overview
About
Maintained by Peng YangCRAN page ↗
Implementation of the SAM prior and generation of its operating characteristics for dynamically borrowing information from historical data. For details, please refer to Yang et al. (2023) doi:10.1111/biom.13927.
Changes in 3.0.0
- Rebuilt
get_OC()using analytical engines for two-arm comparative trials with binary and continuous endpoints, removing reliance on trial simulation.
From NEWS.md in the release
Install
Health
CRAN checks
13OK
Slowest check: 16.0 min · r-release-macos-x86_64
Status changes
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-07-29
- ERROR12 OK, 1 ERROR2026-07-27
- OK13 OK2026-06-09
Show 4 earlier changesHide 4 earlier changes
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-04-10
- ERROR13 OK, 1 ERROR2026-04-09
- OK14 OK2026-03-10
Advisories
Documentation
In release 3.0.0
READMENoVignettesYes · 2 · dynamicNEWSYes · 100% structured · mentions 3.0.0Citation fileNoWebsitenot declared in DESCRIPTION
- Help pages
- 15 (1 internal)
- Examples that run
- 100%6 run in a plain check
- Exported functions with examples
- 38%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 27%
Downloads
3.4K
CRAN downloads in the past year
Rank #11,442 · ~9/day · ~284/mo
Daily download trend is not available in this view yet.
34330 days
93390 days
3.4K1 year
Also on82 r2u3 autocran
Dependencies
Code & Tests
Datasets
People & History
Releases (5)
Pick two releases to compare their code metrics.
- 3.0.0Latest2026-04-27 · current release · diff ↗ ·
added 9 exports
calibrate_cutoff_2arm, calibrate_cutoff_bin_2arm, calibrate_cutoff_cont_2arm, eval_oc_bin_2arm, eval_oc_cont_2arm, eval_scenario_bin_2arm, eval_scenario_cont_2arm, post_summary_bin_2arm, post_summary_cont_2arm - RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 2.0.0
- RR 4.4.0 released · 2024-04-24
- 1.1.12023-09-27 · diff ↗
- 1.1.02023-09-06 · diff ↗
- 1.0.02023-08-15
- RR 4.3.0 released · 2023-04-21
0 of 2 selectedCompare selected
Package metadata
- First published
- 2023-08-15
- Total releases
- 5 / 3 yrs
- License
- GPL (>= 3) OSI
- Minimum R
- ≥ 3.5.0
- Bundled data
- 14 KB / 1 file
- Download size
- 235 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("SAMprior")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.