Package: curtailment 1.0.0

curtailment: Finds Binary Outcome Designs Using Stochastic Curtailment

Finds single- and two-arm designs using stochastic curtailment, as described by Law et al. (2022) <doi:10.1080/10543406.2021.2009498> and Law et al. (2021) <doi:10.1002/pst.2067> respectively. Designs can be single-stage or multi-stage. Non-stochastic curtailment is possible as a special case. Desired error-rates, maximum sample size and lower and upper anticipated response rates are inputted and suitable designs are returned with operating characteristics. Stopping boundaries and visualisations are also available. The package can find designs using other approaches, for example designs by Simon (1989) <doi:10.1016/0197-2456(89)90015-9> and Mander and Thompson (2010) <doi:10.1016/j.cct.2010.07.008>. Other features: compare and visualise designs using a weighted sum of expected sample sizes under the null and alternative hypotheses and maximum sample size; visualise any binary outcome design.

Authors:Martin Law [aut, cre]

curtailment_1.0.0.tar.gz
curtailment_1.0.0.zip(r-4.7-any)curtailment_1.0.0.zip(r-4.6-any)curtailment_1.0.0.zip(r-4.5-any)
curtailment_1.0.0.tgz(r-4.6-any)curtailment_1.0.0.tgz(r-4.5-any)
curtailment_1.0.0.tar.gz(r-4.7-any)curtailment_1.0.0.tar.gz(r-4.6-any)
curtailment_1.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
curtailment/json (API)

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

Bug tracker:https://github.com/martinlaw/curtailment/issues

On CRAN:

Conda:

2.70 score 4 scripts 307 downloads 11 exports 28 dependencies

Last updated from:5a3f3ce412. Checks:7 ERROR, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develERROR124
source / vignettesOK167
linux-releaseERROR121
macos-releaseERROR162
macos-oldrelERROR162
windows-develERROR82
windows-releaseERROR83
windows-oldrelERROR79
wasm-releaseOK99

Exports:drawDiagramdrawDiagramGenericfind2stageDesignsfind2stageThetaFfindLossfindNSCdesignsfindSCdesignsfindSingleSimonDesignplotByWeightsinglearmDesigntwoarmDesign

Dependencies:assertthatclicpp11data.tablefarverggplot2ggthemesgluegridExtragtableisobandlabelinglifecyclemagrittrpillarpkgcondpkgconfigpurrrR6RColorBrewerrlangS7scalestibbleutf8vctrsviridisLitewithr