snSMART
Small N Sequential Multiple Assignment Randomized Trial Methods
v0.2.4
·
Oct 16, 2024
·
GPL (>= 2)
Description
Consolidated data simulation, sample size calculation and analysis functions for several snSMART (small sample sequential, multiple assignment, randomized trial) designs under one library. See Wei, B., Braun, T.M., Tamura, R.N. and Kidwell, K.M. "A Bayesian analysis of small n sequential multiple assignment randomized trials (snSMARTs)." (2018) Statistics in medicine, 37(26), pp.3723-3732 <doi:10.1002/sim.7900>.
Downloads
258
Last 30 days
16923rd
696
Last 90 days
2.8K
Last year
Trend: +16.2% (30d vs prior 30d)
CRAN Check Status
14
OK
Show all 14 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-macos-arm64 | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check History
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 2, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 1, 2026
ERROR
r-devel-linux-x86_64-debian-gcc
examples
Running examples in ‘snSMART-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: groupseqDATA_look1
> ### Title: Group sequential data look 1
> ### Aliases: groupseqDATA_look1
> ### K
...[truncated]...
LE = 6000, n.adapt = 1000, n_MCMC_chain = 1
+ )
Error in update.jags(model, n.iter, ...) : Error in node beta[1]
Slicer stuck at value with infinite density
Calls: group_seq ... do.call -> <Anonymous> -> jags.samples -> update.jags
Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 20, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 19, 2026
ERROR
r-devel-linux-x86_64-debian-gcc
examples
Running examples in ‘snSMART-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: group_seq
> ### Title: BJSM method for interim analysis and final analysis of group
> ### sequential
...[truncated]...
+ n_MCMC_chain = 1, ci = 0.95, DTR = TRUE
+ )
Error in update.jags(model, n.iter, ...) : Error in node beta[5]
Slicer stuck at value with infinite density
Calls: group_seq ... do.call -> <Anonymous> -> jags.samples -> update.jags
Execution halted