Package: curtailment
Title: Finds Binary Outcome Designs Using Stochastic Curtailment
Version: 0.2.6
Authors@R: 
    person(given = "Martin",
           family = "Law",
           role = c("aut", "cre"),
           email = "martin.law@mrc-bsu.cam.ac.uk",
           comment = c(ORCID = "0000-0001-9594-348X"))
Maintainer: Martin Law <martin.law@mrc-bsu.cam.ac.uk>
Description: 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.
License: GPL (>= 3)
Encoding: UTF-8
RoxygenNote: 7.2.3
Imports: ggplot2, gridExtra, ggthemes, data.table, pkgcond, stats
URL: https://github.com/martinlaw/curtailment
BugReports: https://github.com/martinlaw/curtailment/issues
NeedsCompilation: no
Packaged: 2023-10-25 15:15:56 UTC; martin
Author: Martin Law [aut, cre] (<https://orcid.org/0000-0001-9594-348X>)
Repository: CRAN
Date/Publication: 2023-10-25 15:50:04 UTC
Built: R 4.6.0; ; 2026-04-28 16:18:55 UTC; unix
