Package: SAMprior 1.1.1

SAMprior: Self-Adapting Mixture (SAM) Priors

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>.

Authors:Peng Yang [aut, cre], Ying Yuan [aut]

SAMprior_1.1.1.tar.gz
SAMprior_1.1.1.zip(r-4.5)SAMprior_1.1.1.zip(r-4.4)SAMprior_1.1.1.zip(r-4.3)
SAMprior_1.1.1.tgz(r-4.4-any)SAMprior_1.1.1.tgz(r-4.3-any)
SAMprior_1.1.1.tar.gz(r-4.5-noble)SAMprior_1.1.1.tar.gz(r-4.4-noble)
SAMprior_1.1.1.tgz(r-4.4-emscripten)SAMprior_1.1.1.tgz(r-4.3-emscripten)
SAMprior.pdf |SAMprior.html
SAMprior/json (API)
NEWS

# Install 'SAMprior' in R:
install.packages('SAMprior', repos = c('https://pengyang0411.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/pengyang0411/samprior/issues

On CRAN:

4.00 score 4 scripts 163 downloads 3 exports 66 dependencies

Last updated 1 years agofrom:a9c7e1e017. Checks:OK: 5 NOTE: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 25 2024
R-4.5-winNOTEOct 25 2024
R-4.5-linuxNOTEOct 25 2024
R-4.4-winOKOct 25 2024
R-4.4-macOKOct 25 2024
R-4.3-winOKOct 25 2024
R-4.3-macOKOct 25 2024

Exports:get_OCSAM_priorSAM_weight

Dependencies:abindassertthatbackportsbayesplotBHcallrcheckmateclicolorspacedescdistributionaldplyrfansifarverFormulagenericsggplot2ggridgesgluegridExtragtableinlineisobandlabelinglatticelifecycleloomagrittrMASSMatrixmatrixStatsMetricsmgcvmunsellmvtnormnlmenumDerivpillarpkgbuildpkgconfigplyrposteriorprocessxpsQuickJSRR6RBesTRColorBrewerRcppRcppEigenRcppParallelreshape2rlangrstanrstantoolsscalesStanHeadersstringistringrtensorAtibbletidyselectutf8vctrsviridisLitewithr

SAMprior for Binary Endpoints

Rendered fromExample_binary.Rmdusingknitr::rmarkdownon Oct 25 2024.

Last update: 2023-09-30
Started: 2023-08-02

SAMprior for Continuous Endpoints

Rendered fromExample_continuous.Rmdusingknitr::rmarkdownon Oct 25 2024.

Last update: 2023-09-30
Started: 2023-08-02

Readme and manuals

Help Manual

Help pageTopics
Generating Operating Characteristics of SAM Priorsget_OC get_OC.betaMix get_OC.normMix
Calculating SAM priorsSAM_prior SAM_prior.betaMix SAM_prior.gammaMix SAM_prior.normMix
Calculating Mixture Weight of SAM PriorsSAM_weight SAM_weight.betaMix SAM_weight.gammaMix SAM_weight.normMix