SAMprior
3.0.0Self-Adapting Mixture (SAM) Priors
0packages depend
3.1Kdownloads / year
–test coverage
13/13checks pass
Overview
About
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.
Install
Health
CRAN checks
13OK
Slowest check: 22.8 min · r-devel-linux-x86_64-fedora-clang
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
6
Dependencies · direct
Check history
- OK2026-06-0913 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-06-0812 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-04-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-04-0913 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
- Examples that run
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- References docs
- 27%
Downloads
3.1K
CRAN downloads in the past year
Rank #8,345 · ~8/day · ~257/mo
Daily download trend is not available in this view yet.
28230 days
1.3K90 days
3.1K1 year
Also on108 r2u27 autocran
Dependencies
Declared dependencies
15 external dependencies (excludes base and recommended)
Imports (4)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect
Nothing depends on this yet.
Code & Tests
Code Composition
R 4,799 (62%)Rd 2,141 (28%)Vignettes 820 (11%)
Code characteristics
Object systems
S318
- Cyclomatic complexity
- 3.0 median / 66 max
Test coverage
Line coverage
–
Expression
–
Tests / Examples
–
Functions
60 16 exported
Complexity
10.3 avg / 66 max
Call network
60 nodes / 51 edges
Call graph
Open call graph →Loading call graph…
Lowest coverage
Per-function coverage is not measured for this package yet.
Datasets
Bundled datasets · 1
| Name | Class | Rows × Cols | Also ships in |
|---|---|---|---|
| PS_SAM_data | data.frame | 600 × 7 | – |
People & History
People (2)
Maintainer (1)
Author, Maintainer
Authors (2)
Package Timeline
5 releases. Pick two to compare their code metrics. R releases are shown for context.
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
- 200 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet