Skip to content

SAMprior

3.0.0

Self-Adapting Mixture (SAM) Priors

0packages depend
3.1Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Peng YangFirst published 2023-08-155 releasesCRAN 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.

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-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-04-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-09
    13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 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
Compare downloads with other packages →
Also on108 r2u27 autocran

Dependencies

Declared dependencies
15 external dependencies (excludes base and recommended)
Depends (3)
R >= 3.5.0RBesTMatchIt
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

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

Datasets

Bundled datasets · 1
NameClassRows × ColsAlso ships in
PS_SAM_datadata.frame600 × 7

People & History

People (2)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Author
Package Timeline

5 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 3.0.0Latest
    2026-04-28 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 2.0.0
    2025-01-17 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 1.1.1
    2023-09-27 · diff ↗
  • 1.1.0
    2023-09-06 · diff ↗
  • 1.0.0
    2023-08-15
  • R
    R 4.3.0 released · 2023-04-21

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
Report a problem with this page →