Package: BayesPET 0.1.0

Xinyi He
BayesPET: Bayesian Prediction of Event Times for Blinded Randomized Controlled Trials
Bayesian methods for predicting the calendar time at which a target number of events is reached in clinical trials. The methodology applies to both blinded and unblinded settings and jointly models enrollment, event-time, and censoring processes. The package provides tools for trial data simulation, model fitting using 'Stan' via the 'rstan' interface, and event time prediction under a wide range of trial designs, including varying sample sizes, enrollment patterns, treatment effects, and event or censoring time distributions. The package is intended to support interim monitoring, operational planning, and decision-making in clinical trial development. Methods are described in Fu et al. (2025) <doi:10.1002/sim.70310>.
Authors:
BayesPET_0.1.0.tar.gz
BayesPET_0.1.0.tar.gz(r-4.7-arm64)BayesPET_0.1.0.tar.gz(r-4.7-x86_64)BayesPET_0.1.0.tar.gz(r-4.6-arm64)BayesPET_0.1.0.tar.gz(r-4.6-x86_64)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
BayesPET/json (API)
| # Install 'BayesPET' in R: |
| install.packages('BayesPET', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
- data_example - Example trial datasets for fitting Stan models and predicting event times
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated from:45fb8b3491. Checks:5 OK, 1 FAIL. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 489 | ||
| linux-devel-x86_64 | OK | 575 | ||
| source / vignettes | OK | 472 | ||
| linux-release-arm64 | OK | 487 | ||
| linux-release-x86_64 | OK | 438 | ||
| wasm-release | FAIL | 189 |
Exports:convert_medianfit_censorfit_enrollfit_event_blindfit_event_unblindfit_modelsgenerate_dataget_ocpredict_eventtime
Dependencies:abindbackportsBHbitbit64callrcheckmateclicliprcodetoolscpp11crayondescdigestdistributionaldplyrfarverfurrrfuturegenericsggplot2globalsgluegridExtragtablehmsinlineisobandlabelinglifecyclelistenvloomagrittrmatrixStatsnumDerivotelparallellypillarpkgbuildpkgconfigplyrposteriorprettyunitsprocessxprogresspspurrrQuickJSRR6RColorBrewerRcppRcppEigenRcppParallelreadrreshape2rlangrstanrstantoolsS7scalesStanHeadersstringistringrtensorAtibbletidyrtidyselecttzdbutf8vctrsviridisLitevroomwithr