Package: LAGOtrials Type: Package Title: Learn-as-You-Go Adaptive Trial Optimization Version: 1.1.0 Authors@R: c( person("Ante", "Bing", email = "abing@bu.edu", role = c("aut", "cre")), person("Minh", "Bui", role = "aut"), person("Jingyu", "Cui", role = "aut"), person("Mike", "Bostock", role = "cph", comment = "Author of the bundled D3 v7 library, inst/js/d3.v7.min.js")) Description: Optimizes interventions for adaptive "Learn-As-you-GO" (LAGO) trials, in which the intervention package is updated between stages using accumulating data. Given data from completed stages, lago_optimization() fits the outcome model (via 'stats' generalized linear models or, for clustered designs, cluster-robust variance) and computes the cost-optimal recommended intervention for the next stage that is expected to reach a target mean outcome and/or a desired statistical power. get_confidence_set() constructs confidence sets for the optimal intervention, and visualize_cost() and lago_report() summarize the cost surface and results. Methods are described in Nevo, Lok and Spiegelman (2021) and Bing, Spiegelman, Nevo and Lok (2025) . License: GPL-3 Copyright: This package bundles the D3 v7 library (inst/js/d3.v7.min.js), which is ISC-licensed and Copyright 2010-2023 Mike Bostock. See inst/COPYRIGHTS and inst/js/d3-LICENSE. All other code is Copyright the LAGO authors under GPL-3. URL: https://correspondmerchant.github.io/LAGO-R-Package/, https://github.com/correspondMerchant/LAGO-R-Package BugReports: https://github.com/correspondMerchant/LAGO-R-Package/issues Encoding: UTF-8 LazyData: true Imports: rje, NlcOptim, cli, bslib, shiny, ggplot2, shinyjs, Rcpp LinkingTo: Rcpp Suggests: testthat (>= 3.0.0), tibble, knitr, rmarkdown, jsonlite, spelling VignetteBuilder: knitr Config/testthat/edition: 3 Depends: R (>= 2.10) Config/roxygen2/version: 8.0.0 Language: en-US NeedsCompilation: yes Packaged: 2026-10-24 11:23:42 UTC; root Author: Ante Bing [aut, cre], Minh Bui [aut], Jingyu Cui [aut], Mike Bostock [cph] (Author of the bundled D3 v7 library, inst/js/d3.v7.min.js) Maintainer: Ante Bing Repository: https://cran.r-universe.dev Date/Publication: 2026-10-24 11:17:07 UTC RemoteUrl: https://github.com/cran/LAGOtrials RemoteRef: HEAD RemoteSha: 544ca89e120aa44f5eddd1618238340a5d4e91e5