Package: curtailment 0.3.0.9000
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:
curtailment_0.3.0.9000.tar.gz
curtailment_0.3.0.9000.zip(r-4.5)curtailment_0.3.0.9000.zip(r-4.4)curtailment_0.3.0.9000.zip(r-4.3)
curtailment_0.3.0.9000.tgz(r-4.4-any)curtailment_0.3.0.9000.tgz(r-4.3-any)
curtailment_0.3.0.9000.tar.gz(r-4.5-noble)curtailment_0.3.0.9000.tar.gz(r-4.4-noble)
curtailment_0.3.0.9000.tgz(r-4.4-emscripten)curtailment_0.3.0.9000.tgz(r-4.3-emscripten)
curtailment.pdf |curtailment.html✨
curtailment/json (API)
NEWS
# 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
Last updated 2 months agofrom:9c191d4a4b. Checks:OK: 1 WARNING: 6. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 01 2024 |
R-4.5-win | WARNING | Nov 01 2024 |
R-4.5-linux | WARNING | Nov 01 2024 |
R-4.4-win | WARNING | Nov 01 2024 |
R-4.4-mac | WARNING | Nov 01 2024 |
R-4.3-win | WARNING | Nov 01 2024 |
R-4.3-mac | WARNING | Nov 01 2024 |
Exports:drawDiagramdrawDiagramGenericfind2stageDesignsfind2stageThetaFfindLossfindNSCdesignsfindSCdesignsfindSingleSimonDesignplotByWeightsinglearmDesigntwoarmDesign
Dependencies:assertthatclicolorspacedata.tablefansifarverggplot2ggthemesgluegridExtragtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgcondpkgconfigpurrrR6RColorBrewerrlangscalesstringistringrtibbleutf8vctrsviridisLitewithr
Readme and manuals
Help Manual
Help page | Topics |
---|---|
drawDiagram | drawDiagram |
drawDiagramGeneric | drawDiagramGeneric |
Find two-stage designs | find2stageDesigns |
Find conditional power for futility | find2stageThetaF |
Find loss scores for a set of single-arm designs | findLoss |
findNSCdesigns | findNSCdesigns |
findSCDesigns | findSCdesigns |
Find a single Simon design | findSingleSimonDesign |
plotByWeight | plotByWeight |
Find single-arm trials using stochastic curtailment | singlearmDesign |
Find two-arm trial designs that use stochastic curtailment | twoarmDesign |